From 70aa5fd0fb4a4f603a3c5922084824f41e7b9978 Mon Sep 17 00:00:00 2001 From: mpa Date: Fri, 4 Sep 2020 23:16:51 +0400 Subject: [PATCH] fix(tests): remove example from test --- tests/test_utils/test_deprecated.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_utils/test_deprecated.py b/tests/test_utils/test_deprecated.py index 622e4559..114d6810 100644 --- a/tests/test_utils/test_deprecated.py +++ b/tests/test_utils/test_deprecated.py @@ -12,8 +12,3 @@ def test_DeprecatedReadOnlyClassVarCD(): with pytest.warns(DeprecationWarning): assert deprecated_cd.__get__(None, pseudo_owner_cls) == new_value_of_deprecated_cls_cd - - class MyClass: - some_attribute: DeprecatedReadOnlyClassVar["MyClass", int] = \ - DeprecatedReadOnlyClassVar( - "Warning message.", lambda owner: 15)