diff --git a/nipype/info.py b/nipype/info.py index 5780b71e1d..c6503ac753 100644 --- a/nipype/info.py +++ b/nipype/info.py @@ -147,6 +147,8 @@ def get_nipype_gitversion(): 'neurdflib', 'click>=%s' % CLICK_MIN_VERSION, 'funcsigs', + 'pytest>=%s' % PYTEST_MIN_VERSION, + 'pytest-xdist', 'mock', 'pydotplus', 'pydot>=%s' % PYDOT_MIN_VERSION, @@ -157,14 +159,7 @@ def get_nipype_gitversion(): if sys.version_info <= (3, 4): REQUIRES.append('configparser') -TESTS_REQUIRES = [ - 'pytest>=%s' % PYTEST_MIN_VERSION, - 'pytest-xdist', - 'pytest-cov', - 'codecov', - 'pytest-env', - 'coverage<5' -] +TESTS_REQUIRES = ['pytest-cov', 'codecov', 'pytest-env', 'coverage<5'] EXTRA_REQUIRES = { 'doc': ['Sphinx>=1.4', 'numpydoc', 'matplotlib', 'pydotplus', 'pydot>=1.2.3'],