summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/run/unicodeliterals.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run/unicodeliterals.pyx b/tests/run/unicodeliterals.pyx
index 35d534438..661219bd0 100644
--- a/tests/run/unicodeliterals.pyx
+++ b/tests/run/unicodeliterals.pyx
@@ -75,8 +75,8 @@ if sys.version_info >= (2,6):
# this doesn't work well in older Python versions
__doc__ += u"""\
>>> expected = u'\U00101234' # unescaped by Cython
- >>> if wide_literal == expected: print True
- ... else: print repr(wide_literal), repr(expected)
+ >>> if wide_literal == expected: print(True)
+ ... else: print(repr(wide_literal), repr(expected))
True
"""