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 50b63b1 commit 179a050Copy full SHA for 179a050
tests/conftest.py
@@ -5,7 +5,7 @@
5
import io
6
from collections.abc import Generator
7
from pathlib import Path
8
-from typing import IO, BinaryIO, Literal
+from typing import IO, Literal
9
10
import pytest
11
from mock_vws import MockVWS
@@ -53,7 +53,7 @@ def fixture_image_file(
53
high_quality_image: io.BytesIO,
54
tmp_path: Path,
55
request: pytest.FixtureRequest,
56
-) -> Generator[BinaryIO]:
+) -> Generator[IO[bytes]]:
57
"""
58
An image file object.
59
@@ -69,7 +69,7 @@ def fixture_image_file(
69
def image(
70
71
72
- image_file: BinaryIO,
+ image_file: IO[bytes],
73
) -> IO[bytes]:
74
75
An image in any of the types that the API accepts.
0 commit comments