Skip to content

Commit 8494b06

Browse files
authored
Correct variable type (#9335)
2 parents 2c6fd36 + 6a769da commit 8494b06

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/test_file_iptc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from PIL import Image, IptcImagePlugin, TiffImagePlugin, TiffTags
88

9-
from .helper import assert_image_equal, hopper
9+
from .helper import assert_image_equal
1010

1111
TEST_FILE = "Tests/images/iptc.jpg"
1212

@@ -85,7 +85,7 @@ def test_getiptcinfo() -> None:
8585

8686
def test_getiptcinfo_jpg_none() -> None:
8787
# Arrange
88-
with hopper() as im:
88+
with Image.open("Tests/images/hopper.jpg") as im:
8989
# Act
9090
iptc = IptcImagePlugin.getiptcinfo(im)
9191

0 commit comments

Comments
 (0)