From 35f66adbde1a898ae907508e4974f1734bb62e3b Mon Sep 17 00:00:00 2001 From: Alex Clark Date: Sat, 28 Dec 2013 08:53:46 -0500 Subject: [PATCH] Remove my inferior gs binary check --- Tests/test_file_eps.py | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/Tests/test_file_eps.py b/Tests/test_file_eps.py index 48f0785fa..f9e1702ef 100644 --- a/Tests/test_file_eps.py +++ b/Tests/test_file_eps.py @@ -30,23 +30,7 @@ file2_compare_scale2 = "Tests/images/non_zero_bb_scale2.png" def test_sanity(): #Regular scale image1 = Image.open(file1) - try: - image1.load() - except OSError: - #Tests/test_file_eps.py:19: image1.load() failed: - #Traceback (most recent call last): - # File "Tests/test_file_eps.py", line 19, in test_sanity - # image1.load() - # File "/Users/aclark/Developer/Pillow/PIL/EpsImagePlugin.py", line 318, in load - # self.im = Ghostscript(self.tile, self.size, self.fp, scale) - # File "/Users/aclark/Developer/Pillow/PIL/EpsImagePlugin.py", line 89, in Ghostscript - # gs = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE) - # File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 709, in __init__ - # errread, errwrite) - # File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1326, in _execute_child - # raise child_exception - #OSError: [Errno 2] No such file or directory - skip("Image load failed, missing Ghostscript?") + image1.load() assert_equal(image1.mode, "RGB") assert_equal(image1.size, (460, 352)) assert_equal(image1.format, "EPS")