diff options
Diffstat (limited to 'tests/float/math_fun.py')
-rw-r--r-- | tests/float/math_fun.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/float/math_fun.py b/tests/float/math_fun.py index d9f179587d..80d20bd8a5 100644 --- a/tests/float/math_fun.py +++ b/tests/float/math_fun.py @@ -4,8 +4,7 @@ try: from math import * except ImportError: print("SKIP") - import sys - sys.exit() + raise SystemExit test_values = [-100., -1.23456, -1, -0.5, 0.0, 0.5, 1.23456, 100.] test_values_small = [-10., -1.23456, -1, -0.5, 0.0, 0.5, 1.23456, 10.] # so we don't overflow 32-bit precision |