Closed
Description
# pyproject.toml
[tool.pytest.ini_options]
addopts = "--dist=load"
$ pytest --pdb -n0
ERROR: --pdb is incompatible with distributing tests; try using -n0 or -nauto.
As you can see, -n0
is already passed. However, pytest still suggests using -n0
to address the issue.
Solution
-n0
should imply --dist=no
.
Metadata
Metadata
Assignees
Labels
No labels