Do not quit Python if numpy is not installed

This commit is contained in:
Christoph Gohlke 2014-12-19 00:40:27 -08:00
parent 750f8a2a85
commit 99d66ff0cc

View File

@ -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