Py3 test fix 0.13.beta0
authorStefan Behnel <scoder@users.berlios.de>
Fri, 23 Jul 2010 15:25:57 +0000 (17:25 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 23 Jul 2010 15:25:57 +0000 (17:25 +0200)
tests/run/unicodeliterals.pyx

index 35d5344380fdc2d351a506e0bb7c36e7f47b62a8..661219bd0492fbc2ca317b0fbc7c3e42e1b61729 100644 (file)
@@ -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
 """