Skip to content

Commit

Permalink
Removed duplicate import
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jan 31, 2024
1 parent 4a4b90c commit 28343ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@ def test_stringio(self) -> None:
pass

def test_pathlib(self, tmp_path: Path) -> None:
from PIL.Image import Path

with Image.open(Path("Tests/images/multipage-mmap.tiff")) as im:
assert im.mode == "P"
assert im.size == (10, 10)
Expand Down

0 comments on commit 28343ad

Please sign in to comment.