From: Stefan Behnel Date: Fri, 23 Jul 2010 14:53:53 +0000 (+0200) Subject: safety fix for unicode literals test - otherwise fails to print on some platforms X-Git-Tag: 0.13.beta0~1^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78f82600b9daa00bc15d9047f55ddbb7c91f4f7d;p=cython.git safety fix for unicode literals test - otherwise fails to print on some platforms --- diff --git a/tests/run/unicodeliterals.pyx b/tests/run/unicodeliterals.pyx index 66f26734..35d53443 100644 --- a/tests/run/unicodeliterals.pyx +++ b/tests/run/unicodeliterals.pyx @@ -74,7 +74,9 @@ __doc__ = br""" if sys.version_info >= (2,6): # this doesn't work well in older Python versions __doc__ += u"""\ - >>> wide_literal == u'\U00101234' # unescaped by Cython + >>> expected = u'\U00101234' # unescaped by Cython + >>> if wide_literal == expected: print True + ... else: print repr(wide_literal), repr(expected) True """