Open mtelka opened 12 months ago
Are you sure -n1
is correct? The pytest-xdist
docs seem to show the syntax as: -n 1
I think it is okay. The test_n1_pass
test have -n1
too and it pass. Also, when I run without pytest-console-scripts
installed all pytest-xdist
tests pass.
Hmmm, maybe the problem is in pytest-xdist
itself because I found that it fails similarly with pytest-checkdocs
or pytest-randomly
plugins installed (and disabled). Interestingly, pytest-xdist
does not fail with pytest-black
or pytest-mypy
installed.
I tried to run tests for
pytest-xdist 3.4.0
withpytest-console-scripts 1.4.1
installed and disabled using-p no:console-scripts
set in thePYTEST_ADDOPTS
environment variable. And, surprisingly,pytest-xdist
tests fails:With
pytest-console-scripts
uninstalled allpytest-xdist
tests pass.