Fix pytest test collection warning (#106405)
This commit is contained in:
parent
e9f28c2060
commit
c6d1f1ccc8
1 changed files with 2 additions and 0 deletions
|
@ -261,6 +261,8 @@ def test_deprecated_function_called_from_custom_integration(
|
|||
class TestDeprecatedConstantEnum(StrEnum):
|
||||
"""Test deprecated constant enum."""
|
||||
|
||||
__test__ = False # prevent test collection of class by pytest
|
||||
|
||||
TEST = "value"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue