diff options
author | Stephen Finucane <stephen@that.guru> | 2017-12-13 22:57:24 +0300 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2017-12-13 22:59:45 +0300 |
commit | a5ef67b96a7c8aa362b2358766fba9150904e34d (patch) | |
tree | 7c4951f5742526149e6a9c228acdbac7c17fb1c9 /setup.py | |
parent | 809388d8366c845e921a5b679c8d3e90d545acc9 (diff) |
setup: Install mock for Python 3 too
'mock' is part of the standard library in Python 3 since Python 3.3.
However, it's found in 'unittest.mock' - not 'mock'. We should install
the version for PyPi in all cases to minimize differences between the
two. When Python 2.7 support is dropped, we can consider switching to
the standard library version.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes #4284
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,13 +68,13 @@ extras_require = { 'whoosh>=2.0', ], 'test': [ + 'mock', 'pytest', 'pytest-cov', 'html5lib', ], 'test:python_version<"3"': [ 'enum34', - 'mock', ], 'test:python_version>="3"': [ 'mypy', |