Skip to content

Commit 2ca2ab2

Browse files
committed
fix type hint
1 parent cb05290 commit 2ca2ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/validators/test_list.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import re
33
from collections import deque
44
from dataclasses import dataclass
5-
from typing import Any, Callable, Dict, Iterator, List
5+
from typing import Any, Callable, Dict, Iterator, List, Union
66

77
import pytest
88
from dirty_equals import HasRepr, IsInstance, IsStr
@@ -76,7 +76,7 @@ def __repr__(self) -> str:
7676
class ListInputTestCase:
7777
input: Any
7878
output: Result[Any]
79-
strict: bool | None = None
79+
strict: Union[bool, None] = None
8080

8181

8282
LAX_MODE_INPUTS: List[Any] = [

0 commit comments

Comments
 (0)