Skip to content

Cannot run tests on 1.1.0 (and newer) #2666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TheChymera opened this issue Jul 31, 2018 · 2 comments
Closed

Cannot run tests on 1.1.0 (and newer) #2666

TheChymera opened this issue Jul 31, 2018 · 2 comments

Comments

@TheChymera
Copy link
Collaborator

Summary

How to replicate the behavior

chymera@zenhost ~/src/nipype $ py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype
usage: py.test [options] [file_or_dir] [file_or_dir] [...]
py.test: error: unrecognized arguments: -n nipype
  inifile: nipype/pytest.ini
  rootdir: /home/chymera/src/nipype

Platform details:

{'pkg_path': '/usr/lib64/python3.6/site-packages/nipype', 'commit_source': 'archive substitution', 'commit_hash': '%h', 'nipype_version': '1.1.0', 'sys_version': '3.6.6 (default, Jul 27 2018, 23:06:53) \n[GCC 7.3.0]', 'sys_executable': '/usr/lib/python-exec/python3.6/python', 'sys_platform': 'linux', 'numpy_version': '1.14.5', 'scipy_version': '1.1.0', 'networkx_version': '2.1', 'nibabel_version': '2.3.0', 'traits_version': '4.6.0'}
1.1.0

Execution environment

  • My python environment outside container
@effigies
Copy link
Member

pytest-xdist was added to the dependencies in #2649. In the meantime, you can either remove -n auto from your pytest.ini or install pytest-xdist.

@effigies
Copy link
Member

effigies commented Aug 2, 2018

@TheChymera I'm assuming you were able to resolve this issue. Please reopen if there are still issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants