diff --git a/Tests/images/d15-120f10.eps b/Tests/images/reqd_showpage.eps similarity index 100% rename from Tests/images/d15-120f10.eps rename to Tests/images/reqd_showpage.eps diff --git a/Tests/images/reqd_showpage.png b/Tests/images/reqd_showpage.png new file mode 100644 index 000000000..b9ef86cb9 Binary files /dev/null and b/Tests/images/reqd_showpage.png differ diff --git a/Tests/test_file_eps.py b/Tests/test_file_eps.py index 917950aaa..54e806d81 100644 --- a/Tests/test_file_eps.py +++ b/Tests/test_file_eps.py @@ -72,8 +72,14 @@ class TestFileEps(PillowTestCase): self.assert_image_similar(cmyk_image, target, 10) def test_showpage(self): - plot_image = Image.open("Tests/images/d15-120f10.eps") + # See https://github.com/python-pillow/Pillow/issues/2615 + plot_image = Image.open("Tests/images/reqd_showpage.eps") + target = Image.open("Tests/images/reqd_showpage.png") + + #should not crash/hang plot_image.load() + # fonts could be slightly different + self.assert_image_similar(plot_image, target, 2) def test_file_object(self): # issue 479