Skip to content

Commit 25f1264

Browse files
stinosdpgeorge
authored andcommitted
tests: Skip special math fun tests when math module exists but not funs.
1 parent 803264b commit 25f1264

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/float/math_fun_special.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
try:
44
from math import *
5-
except ImportError:
5+
erf
6+
except (ImportError, NameError):
67
print("SKIP")
78
import sys
89
sys.exit()

0 commit comments

Comments
 (0)