-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
--strict-markers / --strict-config via addopts silently stopped working (pytest 9 regression) #14442
Copy link
Copy link
Open
Labels
topic: configrelated to config handling, argument parsing and config filerelated to config handling, argument parsing and config filetype: backward compatibilitymight present some backward compatibility issues which should be carefully noted in the changelogmight present some backward compatibility issues which should be carefully noted in the changelogtype: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
Metadata
Metadata
Assignees
Labels
topic: configrelated to config handling, argument parsing and config filerelated to config handling, argument parsing and config filetype: backward compatibilitymight present some backward compatibility issues which should be carefully noted in the changelogmight present some backward compatibility issues which should be carefully noted in the changelogtype: bugproblem that needs to be addressedproblem that needs to be addressedtype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
It seems like the
OverrideIniActioncompatibility code added in pytest 9 does not play nicely withaddopts, and strictness options configured that way now get silently ignored since efa9eff.pytest.ini:
test_x.py:
with 8.4.2:
with 9.0.x: