Skip to content

Commit 5291f94

Browse files
committed
Another go at fixing pytest dependency on Python 3.3
1 parent aa8b184 commit 5291f94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ def run(self):
8585
'entrypoints',
8686
],
8787
extras_require = {
88-
'test': ['ipykernel', 'ipython', 'mock', 'pytest'],
88+
'test': ['ipykernel', 'ipython', 'mock'],
8989
'test:python_version == "3.3"': ['pytest<3.3.0'],
90+
'test:python_version >= "3.4" or python_version == "2.7"': ['pytest'],
9091
},
9192
cmdclass = {
9293
'bdist_egg': bdist_egg if 'bdist_egg' in sys.argv else bdist_egg_disabled,

0 commit comments

Comments
 (0)