Author: Richard Plangger <[email protected]>
Branch: py3.5
Changeset: r89437:99efa1c2bbd5
Date: 2017-01-09 14:59 +0100
http://bitbucket.org/pypy/pypy/changeset/99efa1c2bbd5/
Log: comment PyObject_CheckBuffer check in test (was commented before
merge as well)
diff --git a/pypy/module/cpyext/test/test_memoryobject.py
b/pypy/module/cpyext/test/test_memoryobject.py
--- a/pypy/module/cpyext/test/test_memoryobject.py
+++ b/pypy/module/cpyext/test/test_memoryobject.py
@@ -11,7 +11,7 @@
class TestMemoryViewObject(BaseApiTest):
def test_fromobject(self, space, api):
w_hello = space.newbytes("hello")
- assert api.PyObject_CheckBuffer(w_hello)
+ #assert api.PyObject_CheckBuffer(w_hello)
w_view = from_ref(space, api.PyMemoryView_FromObject(w_hello))
w_char = space.call_method(w_view, '__getitem__', space.wrap(0))
assert space.eq_w(w_char, space.wrap('h'))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit