Skip to content

Commit 4d3def0

Browse files
committed
Skip some tests if PIL is not installed
1 parent f046fe4 commit 4d3def0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test.py

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def synthetic_test():
1414
import PIL.Image
1515
except:
1616
print ('Pillow not installed. Skipping cross comparison test.')
17+
return
1718

1819
alphas = [0, 64, 192, 255]
1920
widths = [15, 16, 32, 64]

0 commit comments

Comments
 (0)