From 5fc5fce9a2affb48f4d058138ccf0548755ce5bf Mon Sep 17 00:00:00 2001 From: Jahongir Qurbonov <109198731+Jahongir-Qurbonov@users.noreply.github.com> Date: Sat, 19 Oct 2024 18:54:38 +0500 Subject: [PATCH] Fix typo in tests (#4490) --- generator/tests/parameter_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/tests/parameter_test.py b/generator/tests/parameter_test.py index 6aeacae2..f09b3833 100644 --- a/generator/tests/parameter_test.py +++ b/generator/tests/parameter_test.py @@ -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")