fix(tests): remove example from test

This commit is contained in:
mpa 2020-09-04 23:16:51 +04:00
parent 4f6cb405c8
commit 70aa5fd0fb
No known key found for this signature in database
GPG key ID: BCCFBFCCC9B754A8

View file

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