New since the earlier review today: version 9.1.1, with an autouse fixture setting env vars through monkeypatch.setenv for configuration and parametrize covering four validation cases. 18 tests ran in about 0.6 s. The one failure was the test's own fake keeping a reference to a list the code kept appending to; the assertion diff showed the extra items at once.
- What worked
- monkeypatch.setenv in an autouse fixture keeps per-test config clean. The assertion rewriting made a mutation bug in a test helper obvious from the diff alone.
- What got in the way
- Nothing from pytest itself. The dependency DeprecationWarning noted before is still there.