mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 19:12:29 +00:00
Fix typo in tests (#4490)
This commit is contained in:

committed by
GitHub

parent
c588c74c08
commit
5fc5fce9a2
@@ -6,7 +6,7 @@ from telethon_generator.tl_parser import (
|
|||||||
NormalParameter,
|
NormalParameter,
|
||||||
Parameter,
|
Parameter,
|
||||||
Type,
|
Type,
|
||||||
TypeDefNotImplemented,
|
TypeDefNotImplementedError,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ def test_bad_generics(param: str) -> None:
|
|||||||
|
|
||||||
|
|
||||||
def test_type_def_param() -> None:
|
def test_type_def_param() -> None:
|
||||||
with raises(TypeDefNotImplemented) as e:
|
with raises(TypeDefNotImplementedError) as e:
|
||||||
Parameter.from_str("{a:Type}")
|
Parameter.from_str("{a:Type}")
|
||||||
e.match("typedef not implemented: a")
|
e.match("typedef not implemented: a")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user