Update tests/test_filters/test_callback_data.py

Co-authored-by: Oleg A. <t0rr@mail.ru>
This commit is contained in:
m-xim 2024-06-13 12:37:57 +03:00 committed by GitHub
parent ca51d191b1
commit 4512ba8e0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,7 +149,7 @@ class TestCallbackData:
assert MyCallback3.unpack("test3:spam:42") == MyCallback3(foo="spam", bar=42)
class MyCallback4(CallbackData, prefix="test4"):
foo: Optional[str] = ''
foo: Optional[str] = ""
bar: Optional[str] = None
assert MyCallback4.unpack("test4::") == MyCallback4(foo='', bar=None)