Skip to content

Commit 80c214b

Browse files
committed
Align timeout test parameter types
1 parent 1c987da commit 80c214b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_vws.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ def test_default_timeout(
144144
@staticmethod
145145
@pytest.mark.parametrize(
146146
argnames="custom_timeout",
147-
argvalues=[60.5, 60, (5.0, 30.0)],
147+
argvalues=[60.5, 60.0, (5.0, 30.0)],
148148
)
149149
def test_custom_timeout(
150150
image: io.BytesIO | BinaryIO,
151-
custom_timeout: int | float | tuple[float, float], # noqa: PYI041
151+
custom_timeout: float | tuple[float, float],
152152
) -> None:
153153
"""It is possible to set a custom request timeout."""
154154
with MockVWS() as mock:

0 commit comments

Comments
 (0)