Fix typo in tests (#4490)

This commit is contained in:
Jahongir Qurbonov 2024-10-19 18:54:38 +05:00 committed by GitHub
parent c588c74c08
commit 5fc5fce9a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ from telethon_generator.tl_parser import (
NormalParameter,
Parameter,
Type,
TypeDefNotImplemented,
TypeDefNotImplementedError,
)
@ -39,7 +39,7 @@ def test_bad_generics(param: str) -> None:
def test_type_def_param() -> None:
with raises(TypeDefNotImplemented) as e:
with raises(TypeDefNotImplementedError) as e:
Parameter.from_str("{a:Type}")
e.match("typedef not implemented: a")