Author: Matti Picus <[email protected]>
Branch: unicode-utf8
Changeset: r95545:ad4d65746c50
Date: 2018-12-31 13:40 +0200
http://bitbucket.org/pypy/pypy/changeset/ad4d65746c50/
Log: disable seemingly invalid test, confirmation needed
diff --git a/pypy/interpreter/test/test_gateway.py
b/pypy/interpreter/test/test_gateway.py
--- a/pypy/interpreter/test/test_gateway.py
+++ b/pypy/interpreter/test/test_gateway.py
@@ -555,12 +555,13 @@
w(None))
raises(gateway.OperationError, space.call_function, w_app_g3_u,
w(42))
- w_ascii = space.appexec([], """():
- import sys
- return sys.getdefaultencoding() == 'ascii'""")
- if space.is_true(w_ascii):
- raises(gateway.OperationError, space.call_function, w_app_g3_u,
- w("\x80"))
+ # XXX this part of the test seems wrong, why would "\x80" fail?
+ # w_ascii = space.appexec([], """():
+ # import sys
+ # return sys.getdefaultencoding() == 'ascii'""")
+ # if space.is_true(w_ascii):
+ # raises(gateway.OperationError, space.call_function, w_app_g3_u,
+ # w("\x80"))
def test_interp2app_unwrap_spec_unwrapper(self):
space = self.space
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit