summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/math-fun-bool.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/math-fun-bool.py')
-rw-r--r--tests/float/math-fun-bool.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/float/math-fun-bool.py b/tests/float/math-fun-bool.py
deleted file mode 100644
index 57232857ab..0000000000
--- a/tests/float/math-fun-bool.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# Test the bool functions from math
-
-try:
- from math import isfinite, isnan, isinf
-except ImportError:
- print("SKIP")
- import sys
- sys.exit()
-
-test_values = [1, 0, -1, 1.0, 0.0, -1.0, float('NaN'), float('Inf'),
- -float('NaN'), -float('Inf')]
-
-functions = [isfinite, isnan, isinf]
-
-for val in test_values:
- for f in functions:
- print(f(val))