From d8e34fc06f6e4be1b448a66d0a14519a5ac198ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= Date: Sun, 30 Apr 2023 18:22:13 +0300 Subject: [PATCH] Fixed errors on older Pythons --- tests/test_typechecked.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_typechecked.py b/tests/test_typechecked.py index 0d7bd9a..cfdd877 100644 --- a/tests/test_typechecked.py +++ b/tests/test_typechecked.py @@ -598,7 +598,7 @@ def method(self, x: int) -> None: ], ) def test_typechecked_disabled_in_optimized_mode( - tmp_path: Path, flags: list[str], expected_return_code: int + tmp_path: Path, flags: List[str], expected_return_code: int ): code = dedent( """