summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/math_fun_special.py
diff options
context:
space:
mode:
authorstijn <stinos@zoho.com>2015-03-03 11:24:52 +0100
committerDamien George <damien.p.george@gmail.com>2015-03-03 14:36:59 +0000
commit25f1264699b9f718607e3e861ed6217bf490fe46 (patch)
treef5a25dc233b2a797d2820cb3030a56b78674aa12 /tests/float/math_fun_special.py
parent803264bb17a1dca212e427750fde2cdac98b36f0 (diff)
downloadmicropython-25f1264699b9f718607e3e861ed6217bf490fe46.tar.gz
micropython-25f1264699b9f718607e3e861ed6217bf490fe46.zip
tests: Skip special math fun tests when math module exists but not funs.
Diffstat (limited to 'tests/float/math_fun_special.py')
-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()