mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 01:16:35 +03:00
Fix typo in tests (#4490)
This commit is contained in:
parent
c588c74c08
commit
5fc5fce9a2
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user