[pypy-commit] pypy py3k: this test already fails, add a smaller failing case
antocuni
noreply at buildbot.pypy.org
Fri Feb 24 15:12:04 CET 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r52859:07761ed93f55
Date: 2012-02-24 13:37 +0100
http://bitbucket.org/pypy/pypy/changeset/07761ed93f55/
Log: this test already fails, add a smaller failing case
diff --git a/pypy/module/__builtin__/test/test_builtin.py b/pypy/module/__builtin__/test/test_builtin.py
--- a/pypy/module/__builtin__/test/test_builtin.py
+++ b/pypy/module/__builtin__/test/test_builtin.py
@@ -68,6 +68,9 @@
# Issue #9804: surrogates should be joined even for printable
# wide characters (UCS-2 builds).
assert ascii('\U0001d121') == "'\\U0001d121'"
+ # another buggy case
+ x = ascii("\U00012fff")
+ assert x == r"'\U00012fff'"
# All together
s = "'\0\"\n\r\t abcd\x85é\U00012fff\uD800\U0001D121xxx."
assert ascii(s) == \
More information about the pypy-commit
mailing list