Skip to content

Commit 92d8597

Browse files
committed
chore(test): register the pytest markers the suite already uses
The suite applies markers that were never declared in [tool.pytest.ini_options] markers. pytest only warns for an unknown marker, so the warning scrolls past unnoticed and a dropped or misspelt registration is silent. Registers the ones in use, with descriptions that say what they do: collection grouping, not ordering. `feature` labels feature-area tests and `benchmark_relation` marks relation benchmarks; neither affects scheduling, so neither substitutes for the xdist_group marker that actually serialises a suite. usefixtures needs no entry and is not added: pytest provides it, so it was a false positive in the isolation audit rather than a missing registration.
1 parent 0fc3cc6 commit 92d8597

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎pyproject.toml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ markers = [
9191
"requires_capability: marks tests requiring specific backend capabilities",
9292
"requires_protocol: marks tests requiring specific backend protocol support",
9393
"requires_inner_join: marks tests requiring INNER JOIN support",
94+
"feature: category label for feature-area tests; changes collection grouping only, not ordering",
95+
"benchmark_relation: marks relation benchmarks; changes collection grouping only, not ordering",
96+
9497
]
9598

9699
[tool.coverage.run]

0 commit comments

Comments
 (0)