summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/math_fun_special.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/math_fun_special.py')
-rw-r--r--tests/float/math_fun_special.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/float/math_fun_special.py b/tests/float/math_fun_special.py
index 32249b4234..c3665a7cd9 100644
--- a/tests/float/math_fun_special.py
+++ b/tests/float/math_fun_special.py
@@ -5,8 +5,7 @@ try:
erf
except (ImportError, NameError):
print("SKIP")
- import sys
- sys.exit()
+ raise SystemExit
test_values = [-8., -2.5, -1, -0.5, 0.0, 0.5, 2.5, 8.,]
pos_test_values = [0.001, 0.1, 0.5, 1.0, 1.5, 10.,]