From 2507f128b75aee3b59e4b8b324e4910ed494bfdd Mon Sep 17 00:00:00 2001 From: Oleg A Date: Wed, 24 Aug 2022 11:19:29 +0300 Subject: [PATCH] fix: correct test result type #988 --- tests/test_api/test_types/test_exception.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_api/test_types/test_exception.py b/tests/test_api/test_types/test_exception.py index 909f03cb..93c82ad6 100644 --- a/tests/test_api/test_types/test_exception.py +++ b/tests/test_api/test_types/test_exception.py @@ -10,6 +10,6 @@ class TestException: ["reason", "DetailedAiogramError('reason')"], ], ) - def test_representation(self, message: str, result: bool): + def test_representation(self, message: str, result: str): exc = DetailedAiogramError(message=message) assert repr(exc) == result