Skip to content

Commit 041068b

Browse files
authored
Merge pull request #2850 from yarikoptic/bf-nopytest
RF: Move pytest and pytest-xdist from general requirement into tests_required
2 parents b491da4 + 2ad6f37 commit 041068b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

nipype/info.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ def get_nipype_gitversion():
147147
'neurdflib',
148148
'click>=%s' % CLICK_MIN_VERSION,
149149
'funcsigs',
150-
'pytest>=%s' % PYTEST_MIN_VERSION,
151-
'pytest-xdist',
152150
'mock',
153151
'pydotplus',
154152
'pydot>=%s' % PYDOT_MIN_VERSION,
@@ -159,7 +157,14 @@ def get_nipype_gitversion():
159157
if sys.version_info <= (3, 4):
160158
REQUIRES.append('configparser')
161159

162-
TESTS_REQUIRES = ['pytest-cov', 'codecov', 'pytest-env', 'coverage<5']
160+
TESTS_REQUIRES = [
161+
'pytest>=%s' % PYTEST_MIN_VERSION,
162+
'pytest-xdist',
163+
'pytest-cov',
164+
'codecov',
165+
'pytest-env',
166+
'coverage<5'
167+
]
163168

164169
EXTRA_REQUIRES = {
165170
'doc': ['Sphinx>=1.4', 'numpydoc', 'matplotlib', 'pydotplus', 'pydot>=1.2.3'],

0 commit comments

Comments
 (0)