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
Commit b84f8f1
Browse filesBrowse the repository at this point in the historyBrowse files
test: the interleaved-args probe runs unconditionally instead of skipping (#447)
* test: the interleaved-args probe runs unconditionally instead of skipping
pytest-dev/pytest#14968 (the 9.1.x backport of the pytest-dev/pytest#14971
fix) is still unreleased: PyPI's newest pytest is 9.1.1, so there is no
version to adopt and the upstream-behavior probe version-gated on (9, 2, 0)
skipped on every board, verifying nothing.
The upstream bug is specific to fixtures defined in a nested conftest.py
(re-collection of the revisited directory builds a second Directory node and
fixture registration matches by node identity). Fixtures that do not ride a
re-collected Directory node - the root conftest.py and each test module's
own fixtures - resolve under the same interleaving; verified against 9.1.1
and 8.4.2 scratch projects, with the nested-conftest negative control
erroring on 9.1.1 exactly as upstream reports.
Replace the skip with a probe of that scenario: root conftest fixture plus
per-module fixtures, asserted under both argument orderings. The nested
conftest shape stays covered at the repo level by the two guards (web_admin
fixtures registered from tests/conftest.py). A nested-conftest variant of
the probe can be added once the pin moves past the release that ships the
backport.
* ci: board the queue
* ci: re-board
---------
Co-authored-by: rich <rich@local>
0 commit comments