Skip to content

Commit 36bd542

Browse files
committed
🚨 Update types for Python 3.8
1 parent fe1357e commit 36bd542

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def get_testing_print_function(
5656
calls: List[List[Union[str, Dict[str, Any]]]],
5757
) -> Callable[..., Any]:
5858
def new_print(*args: Any) -> None:
59-
data: list[Any] = []
59+
data: List[Any] = []
6060
for arg in args:
6161
if isinstance(arg, BaseModel):
6262
data.append(arg.model_dump())
@@ -75,7 +75,7 @@ def new_print(*args: Any) -> None:
7575

7676
@dataclass
7777
class PrintMock:
78-
calls: list[Any] = field(default_factory=list)
78+
calls: List[Any] = field(default_factory=list)
7979

8080

8181
@pytest.fixture(name="print_mock")

0 commit comments

Comments
 (0)