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()