Fix pytest test collection warning (#106405)

This commit is contained in:
Marc Mueller
2023-12-26 16:23:19 +01:00
committed by GitHub
parent e9f28c2060
commit c6d1f1ccc8

View File

@@ -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"