We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe1357e commit 36bd542Copy full SHA for 36bd542
tests/conftest.py
@@ -56,7 +56,7 @@ def get_testing_print_function(
56
calls: List[List[Union[str, Dict[str, Any]]]],
57
) -> Callable[..., Any]:
58
def new_print(*args: Any) -> None:
59
- data: list[Any] = []
+ data: List[Any] = []
60
for arg in args:
61
if isinstance(arg, BaseModel):
62
data.append(arg.model_dump())
@@ -75,7 +75,7 @@ def new_print(*args: Any) -> None:
75
76
@dataclass
77
class PrintMock:
78
- calls: list[Any] = field(default_factory=list)
+ calls: List[Any] = field(default_factory=list)
79
80
81
@pytest.fixture(name="print_mock")
0 commit comments