diff options
Diffstat (limited to 'tests/float/math_factorial_intbig.py')
-rw-r--r-- | tests/float/math_factorial_intbig.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/float/math_factorial_intbig.py b/tests/float/math_factorial_intbig.py index 19d853df2a..a4694b3d68 100644 --- a/tests/float/math_factorial_intbig.py +++ b/tests/float/math_factorial_intbig.py @@ -1,14 +1,15 @@ try: import math + math.factorial except (ImportError, AttributeError): - print('SKIP') + print("SKIP") raise SystemExit for fun in (math.factorial,): for x in range(-1, 30): try: - print('%d' % fun(x)) + print("%d" % fun(x)) except ValueError as e: - print('ValueError') + print("ValueError") |