Address review: prefs seeding honors the redirect, age sweep re-probes under the lock

This commit is contained in:
J. Nick Koston
2026-09-03 18:47:38 +02:00
parent bca4c9dbba
commit 900dd63883
4 changed files with 21 additions and 7 deletions
+1 -1
View File
@@ -1126,7 +1126,7 @@ def get_fixture_to_test_files() -> dict[str, frozenset[str]]:
result.setdefault(base_name, set()).add(rel_path)
# Shared fixtures are named by marker, not by a test function
names = _SHARED_YAML_RE.findall(content)
if len(names) != content.count("shared_yaml("):
if len(names) != content.count("pytest.mark.shared_yaml("):
# A wrapped or non-literal marker would silently drop the mapping
# and CI would select no tests for that fixture
raise ValueError(