tests: Skip special math fun tests when math module exists but not funs.

This commit is contained in:
stijn 2015-03-03 11:24:52 +01:00 committed by Damien George
parent 803264bb17
commit 25f1264699

View File

@ -2,7 +2,8 @@
try:
from math import *
except ImportError:
erf
except (ImportError, NameError):
print("SKIP")
import sys
sys.exit()