[pypy-commit] pypy py3k: reapply xfails from default
pjenvey
pypy.commits at gmail.com
Mon May 9 21:56:42 EDT 2016
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r84342:c871cbd337d4
Date: 2016-05-09 18:54 -0700
http://bitbucket.org/pypy/pypy/changeset/c871cbd337d4/
Log: reapply xfails from default
diff --git a/lib-python/3/ctypes/test/test_python_api.py b/lib-python/3/ctypes/test/test_python_api.py
--- a/lib-python/3/ctypes/test/test_python_api.py
+++ b/lib-python/3/ctypes/test/test_python_api.py
@@ -19,6 +19,7 @@
class PythonAPITestCase(unittest.TestCase):
+ @xfail
def test_PyBytes_FromStringAndSize(self):
PyBytes_FromStringAndSize = pythonapi.PyBytes_FromStringAndSize
@@ -71,6 +72,7 @@
del pyobj
self.assertEqual(grc(s), ref)
+ @xfail
def test_PyOS_snprintf(self):
PyOS_snprintf = pythonapi.PyOS_snprintf
PyOS_snprintf.argtypes = POINTER(c_char), c_size_t, c_char_p
@@ -85,6 +87,7 @@
# not enough arguments
self.assertRaises(TypeError, PyOS_snprintf, buf)
+ @xfail
def test_pyobject_repr(self):
self.assertEqual(repr(py_object()), "py_object(<NULL>)")
self.assertEqual(repr(py_object(42)), "py_object(42)")
More information about the pypy-commit
mailing list