aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
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,
)