summaryrefslogtreecommitdiff
path: root/test/regrtest_data/decimal_inference.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/regrtest_data/decimal_inference.py')
-rw-r--r--test/regrtest_data/decimal_inference.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/regrtest_data/decimal_inference.py b/test/regrtest_data/decimal_inference.py
index b47bc1c..00c9130 100644
--- a/test/regrtest_data/decimal_inference.py
+++ b/test/regrtest_data/decimal_inference.py
@@ -3,8 +3,8 @@ using setattr/locals :(
2007/02/17 update: .prec attribute is now detected by astroid :o)
"""
+from __future__ import print_function
import decimal
decimal.getcontext().prec = 200
-print decimal.getcontext().prec
-
+print(decimal.getcontext().prec)