Skip to content

Commit c8d5bd0

Browse files
authored
Fix pytest collection warning (#5859)
1 parent 45fa4eb commit c8d5bd0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

utils/_decorators.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def configure(config: pytest.Config):
2121

2222

2323
class _TestDeclaration(enum.StrEnum):
24+
__test__ = False # Tell pytest this is not a test class
2425
BUG = "bug"
2526
FLAKY = "flaky"
2627
INCOMPLETE_TEST_APP = "incomplete_test_app"

0 commit comments

Comments
 (0)