From 292d486f4264299adfaf4d2aff1697f794f1347f Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 23 Jul 2010 17:25:57 +0200 Subject: [PATCH] Py3 test fix --- tests/run/unicodeliterals.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run/unicodeliterals.pyx b/tests/run/unicodeliterals.pyx index 35d53443..661219bd 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 """ -- 2.26.2