Skip to content

Commit

Permalink
setup.py: Do not require mock in Python 3
Browse files Browse the repository at this point in the history
The code will always use 'unittest.mock' in Python 3, so stop pulling
the 'mock' package unnecessarily.
  • Loading branch information
mgorny authored and gotcha committed Mar 8, 2021
1 parent b7fc84a commit 5bb1e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
':python_version > "3.6"': ['ipython >= 7.17.0', 'toml >= 0.10.2'],
},
tests_require=[
'mock'
'mock; python_version<"3"'
],
entry_points={
'console_scripts': ['%s = ipdb.__main__:main' % console_script]
Expand Down

0 comments on commit 5bb1e86

Please sign in to comment.