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 c7b4302 commit 8dac603Copy full SHA for 8dac603
tests/conftest.py
@@ -56,7 +56,7 @@ def image_file(
56
file = tmp_path / "image.jpg"
57
buffer = high_quality_image.getvalue()
58
file.write_bytes(data=buffer)
59
- with file.open("r+b") as file_obj:
+ with file.open(mode="r+b") as file_obj:
60
yield file_obj
61
62
0 commit comments