mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +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:
|
try:
|
||||||
import numpy as np
|
import numpy as np
|
||||||
except:
|
except:
|
||||||
sys.exit("Skipping: Numpy not installed")
|
raise unittest.SkipTest("numpy not installed")
|
||||||
|
|
||||||
YDIM = 32769
|
YDIM = 32769
|
||||||
XDIM = 48000
|
XDIM = 48000
|
||||||
|
|
Loading…
Reference in New Issue
Block a user