diff --git a/setup.py b/setup.py index deca85375..dd7c62864 100644 --- a/setup.py +++ b/setup.py @@ -212,7 +212,7 @@ def run(self): jupyter_client_req = 'jupyter_client>=4.2' extra_requirements = { - 'test': ['pytest', 'pytest-cov', 'mock', 'ipykernel', jupyter_client_req, 'ipywidgets>=7'], + 'test': ['pytest', 'pytest-cov', 'mock; python_version < "3.4"', 'ipykernel', jupyter_client_req, 'ipywidgets>=7'], 'serve': ['tornado>=4.0'], 'execute': [jupyter_client_req], 'docs': ['sphinx>=1.5.1',