diff options
Diffstat (limited to 'tests/float/math_fun_int.py')
-rw-r--r-- | tests/float/math_fun_int.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/float/math_fun_int.py b/tests/float/math_fun_int.py index ee54f0995a..5cadbb1e52 100644 --- a/tests/float/math_fun_int.py +++ b/tests/float/math_fun_int.py @@ -4,8 +4,7 @@ try: import math except ImportError: print("SKIP") - import sys - sys.exit() + raise SystemExit for fun in (math.ceil, math.floor, math.trunc): for x in (-1.6, -0.2, 0, 0.6, 1.4, float('inf'), float('nan')): |