From 99d66ff0cc7656413bbdc930ef426f5da572febb Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Fri, 19 Dec 2014 00:40:27 -0800 Subject: [PATCH] Do not quit Python if numpy is not installed --- Tests/large_memory_numpy_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/large_memory_numpy_test.py b/Tests/large_memory_numpy_test.py index 159d767d6..5e5a58441 100644 --- a/Tests/large_memory_numpy_test.py +++ b/Tests/large_memory_numpy_test.py @@ -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