mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix(tests): remove example from test
This commit is contained in:
parent
4f6cb405c8
commit
70aa5fd0fb
1 changed files with 0 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue