Skip to content

Commit

Permalink
🐛 Fix use of list for typing
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisFederico committed Aug 31, 2024
1 parent fcbfb69 commit 6cb738e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/planning/test_planning.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Optional, Type
from typing import Optional, Type, List
import warnings
import pytest
from hcraft.env import HcraftEnv
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 6cb738e

Please sign in to comment.