Author: Amaury Forgeot d'Arc <amaur...@gmail.com>
Branch: 
Changeset: r46905:fc45d117a823
Date: 2011-08-23 22:46 +0200
http://bitbucket.org/pypy/pypy/changeset/fc45d117a823/

Log:    Fix -A tests on cpython built in UCS-2 mode

diff --git a/pypy/rlib/runicode.py b/pypy/rlib/runicode.py
--- a/pypy/rlib/runicode.py
+++ b/pypy/rlib/runicode.py
@@ -1403,7 +1403,7 @@
                                     s, pos, pos + unicode_bytes)
             result.append(res)
             continue
-        result.append(unichr(t))
+        result.append(UNICHR(t))
         pos += unicode_bytes
     return result.build(), pos
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to