From 6cb738eb3617ca1dc40ea69aea76a17920409ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?AutoMath=C3=AFs?= Date: Sat, 31 Aug 2024 19:03:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20use=20of=20list=20for=20ty?= =?UTF-8?q?ping?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/planning/test_planning.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/planning/test_planning.py b/tests/planning/test_planning.py index c01446a6..ec6523d5 100644 --- a/tests/planning/test_planning.py +++ b/tests/planning/test_planning.py @@ -1,4 +1,4 @@ -from typing import Optional, Type +from typing import Optional, Type, List import warnings import pytest from hcraft.env import HcraftEnv @@ -41,7 +41,7 @@ def then_warning_should_be_given( def _warning_in_records( - warning_records: list[warnings.WarningMessage], + warning_records: List[warnings.WarningMessage], warning_type: Type[Warning], match: Optional[str], ) -> bool: