mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Merge pull request #1050 from cgohlke/patch-1
Do not quit Python if numpy is not installed
This commit is contained in:
commit
7e8644fbfa
|
@ -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