Author: Armin Rigo <[email protected]>
Branch: py3k
Changeset: r87345:dd7bb8b61422
Date: 2016-09-23 11:59 +0200
http://bitbucket.org/pypy/pypy/changeset/dd7bb8b61422/
Log: utf-8 encoding before translation accepts lone surrogates, because
it is Python 2.7, but after translation it does not. Moreover,
CPython 3.x accepts such unicode attributes anyway. This makes this
test half-wrong for now.
diff --git a/pypy/objspace/test/test_descriptor.py
b/pypy/objspace/test/test_descriptor.py
--- a/pypy/objspace/test/test_descriptor.py
+++ b/pypy/objspace/test/test_descriptor.py
@@ -73,6 +73,10 @@
raises(AttributeError, X.v.__delete__, x)
def test_invalid_unicode_identifier(self):
+ skip("utf-8 encoding before translation accepts lone surrogates, "
+ "because it is Python 2.7, but after translation it does not. "
+ "Moreover, CPython 3.x accepts such unicode attributes anyway. "
+ "This makes this test half-wrong for now.")
class X(object):
pass
x = X()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit