aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>2015-01-15 23:25:04 +0100
committerArfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>2015-01-15 23:25:04 +0100
commitcde1eb84bd1813ff4425fe6f05cbdeba8e410c13 (patch)
treec5d0db0cf20a916f3c065a3832a813a545c7e1af /setup.py
parent72d5cc0b9ea095437bf2796298dd3658624c081e (diff)
downloadexternal_python_setuptools-cde1eb84bd1813ff4425fe6f05cbdeba8e410c13.tar.gz
external_python_setuptools-cde1eb84bd1813ff4425fe6f05cbdeba8e410c13.tar.bz2
external_python_setuptools-cde1eb84bd1813ff4425fe6f05cbdeba8e410c13.zip
Use unittest.mock from standard library instead of external mock with Python >=3.3.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index b4b93b38..63093917 100755
--- a/setup.py
+++ b/setup.py
@@ -170,8 +170,7 @@ setup_params = dict(
tests_require=[
'setuptools[ssl]',
'pytest',
- 'mock',
- ],
+ ] + (['mock'] if sys.version_info[:2] < (3, 3) else []),
setup_requires=[
] + pytest_runner,
)