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
{{ message }}
Repository navigation
pytest main does not detect some invalid nodeid names #10273
Closing as resolved: fixed by #13717 (fixing #13716, pytest 9.0.0), which added validation in resolve_collection_argument so pytest "test_file.py[foobar]" now errors with "path cannot contain [] parametrization" instead of silently running all tests.
Activity
fix for pytest-dev#10273
Zac-HD commentedon Jul 22, 2026
Closing as resolved: fixed by #13717 (fixing #13716, pytest 9.0.0), which added validation in
resolve_collection_argumentsopytest "test_file.py[foobar]"now errors with "path cannot contain [] parametrization" instead of silently running all tests.