[pypy-commit] pypy default: Fix -A tests on cpython built in UCS-2 mode
amauryfa
noreply at buildbot.pypy.org
Mon Aug 29 22:51:54 CEST 2011
Author: Amaury Forgeot d'Arc <amauryfa at 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
More information about the pypy-commit
mailing list