Skip to content

Commit e8ee520

Browse files
authored
Merge pull request #25 from radarhere/eps_test
Moved expected images
2 parents 1a4a571 + 9855c69 commit e8ee520

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

Tests/test_file_eps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def test_cmyk() -> None:
208208
def test_showpage() -> None:
209209
# See https://github.com/python-pillow/Pillow/issues/2615
210210
with Image.open("Tests/images/eps/reqd_showpage.eps") as plot_image:
211-
with Image.open("Tests/images/reqd_showpage.png") as target:
211+
with Image.open("Tests/images/eps/reqd_showpage.png") as target:
212212
# should not crash/hang
213213
plot_image.load()
214214
# fonts could be slightly different
@@ -221,7 +221,7 @@ def test_transparency() -> None:
221221
plot_image.load(transparency=True)
222222
assert plot_image.mode == "RGBA"
223223

224-
with Image.open("Tests/images/reqd_showpage_transparency.png") as target:
224+
with Image.open("Tests/images/eps/reqd_showpage_transparency.png") as target:
225225
# fonts could be slightly different
226226
assert_image_similar(plot_image, target, 6)
227227

0 commit comments

Comments
 (0)