You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a detailed description of the bug or problem you are having
When adding a custom option via pytest_addoption, passing a path that doesn't exist has it passed correctly, but when the path does exist, pytest fails. I'd have expected both to work. Seems like such a basic issue I really feel like I'm missing something obvious...
When adding a custom option via
pytest_addoption
, passing a path that doesn't exist has it passed correctly, but when the path does exist, pytest fails. I'd have expected both to work. Seems like such a basic issue I really feel like I'm missing something obvious...$ pytest -rP --some_path /usr/bin/nonexistent # output "some_path: /usr/bin/nonexistent"
pip list
from the virtual environment you are usingPackage Version
iniconfig 2.1.0
packaging 25.0
pip 24.0
pluggy 1.5.0
pytest 8.3.5
Ubuntu, also Win11
mkdir foo cd foo python3 -m venv .venv .venv/bin/python3 -m pip install pytest mkdir tests
Then we are ready. Non-existent path:
Path that exists:
The text was updated successfully, but these errors were encountered: