summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--tests/float/math_fun_special.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/float/math_fun_special.py b/tests/float/math_fun_special.py
index 970e8c4c30..c30085a2be 100644
--- a/tests/float/math_fun_special.py
+++ b/tests/float/math_fun_special.py
@@ -2,7 +2,8 @@
try:
from math import *
-except ImportError:
+ erf
+except (ImportError, NameError):
print("SKIP")
import sys
sys.exit()