Skip to content

Commit 6a769da

Browse files
committed
Corrected variable type
1 parent 2c6fd36 commit 6a769da

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)