summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/math-fun.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/math-fun.py')
-rw-r--r--tests/float/math-fun.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/float/math-fun.py b/tests/float/math-fun.py
index 7a37c58454..fa111e33e3 100644
--- a/tests/float/math-fun.py
+++ b/tests/float/math-fun.py
@@ -1,6 +1,11 @@
# Tests the functions imported from math
-from math import *
+try:
+ from math import *
+except ImportError:
+ print("SKIP")
+ import sys
+ sys.exit()
test_values = [-100., -1.23456, -1, -0.5, 0.0, 0.5, 1.23456, 100.]
p_test_values = [0.1, 0.5, 1.23456]