Author: Ronan Lamy <ronan.l...@gmail.com> Branch: fix-cpyext-releasebuffer Changeset: r90493:e05f93a7addd Date: 2017-03-02 18:10 +0100 http://bitbucket.org/pypy/pypy/changeset/e05f93a7addd/
Log: Skip test that fails untranslated (someone please kill ll2ctypes in a fire) diff --git a/pypy/module/cpyext/test/test_bufferobject.py b/pypy/module/cpyext/test/test_bufferobject.py --- a/pypy/module/cpyext/test/test_bufferobject.py +++ b/pypy/module/cpyext/test/test_bufferobject.py @@ -63,8 +63,10 @@ a = array.array('c', 'text') b = buffer(a) assert module.roundtrip(b) == 'text' - + def test_releasebuffer(self): + if not self.runappdirect: + skip("Fails due to ll2ctypes nonsense") module = self.import_extension('foo', [ ("create_test", "METH_NOARGS", """ @@ -104,10 +106,10 @@ return 0; } - void releasebuffer(PyObject *obj, Py_buffer *view) { + void releasebuffer(PyObject *obj, Py_buffer *view) { cnt --; } - """, more_init=""" + """, more_init=""" type = (PyHeapTypeObject *) PyType_Type.tp_alloc(&PyType_Type, 0); type->ht_type.tp_name = "Test"; _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit