Skip to content

Commit

Permalink
Merge pull request #25 from radarhere/eps_test
Browse files Browse the repository at this point in the history
Moved expected images
  • Loading branch information
Yay295 authored Aug 4, 2024
2 parents 1a4a571 + 9855c69 commit e8ee520
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes
4 changes: 2 additions & 2 deletions Tests/test_file_eps.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def test_cmyk() -> None:
def test_showpage() -> None:
# See https://github.com/python-pillow/Pillow/issues/2615
with Image.open("Tests/images/eps/reqd_showpage.eps") as plot_image:
with Image.open("Tests/images/reqd_showpage.png") as target:
with Image.open("Tests/images/eps/reqd_showpage.png") as target:
# should not crash/hang
plot_image.load()
# fonts could be slightly different
Expand All @@ -221,7 +221,7 @@ def test_transparency() -> None:
plot_image.load(transparency=True)
assert plot_image.mode == "RGBA"

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

Expand Down

0 comments on commit e8ee520

Please sign in to comment.