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 8d55054 commit 9334bf0Copy full SHA for 9334bf0
Tests/test_image.py
@@ -187,8 +187,7 @@ def test_pathlib(self, tmp_path: Path) -> None:
187
for ext in (".jpg", ".jp2"):
188
if ext == ".jp2" and not features.check_codec("jpg_2000"):
189
pytest.skip("jpg_2000 not available")
190
- temp_file = tmp_path / ("temp." + ext)
191
- im.save(Path(temp_file))
+ im.save(tmp_path / ("temp." + ext))
192
193
def test_fp_name(self, tmp_path: Path) -> None:
194
temp_file = tmp_path / "temp.jpg"
0 commit comments