diff options
Diffstat (limited to 'tests/float/cmath_fun.py')
-rw-r--r-- | tests/float/cmath_fun.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/float/cmath_fun.py b/tests/float/cmath_fun.py index 3ebcf59186..ae5921c304 100644 --- a/tests/float/cmath_fun.py +++ b/tests/float/cmath_fun.py @@ -4,8 +4,7 @@ try: from cmath import * except ImportError: print("SKIP") - import sys - sys.exit() + raise SystemExit # make sure these constants exist in cmath print("%.5g" % e) |