mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Do not quit Python if numpy is not installed
This commit is contained in:
parent
750f8a2a85
commit
99d66ff0cc
|
@ -14,7 +14,7 @@ from PIL import Image
|
|||
try:
|
||||
import numpy as np
|
||||
except:
|
||||
sys.exit("Skipping: Numpy not installed")
|
||||
raise unittest.SkipTest("numpy not installed")
|
||||
|
||||
YDIM = 32769
|
||||
XDIM = 48000
|
||||
|
|
Loading…
Reference in New Issue
Block a user