Author: Richard Plangger <[email protected]>
Branch: 
Changeset: r89447:43b0e50c2403
Date: 2017-01-09 18:24 +0100
http://bitbucket.org/pypy/pypy/changeset/43b0e50c2403/

Log:    revert aebaccb5bc42, checked in on wrong branch

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
@@ -14,7 +14,7 @@
         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(ord('h')))
+        assert space.eq_w(w_char, space.wrap('h'))
         w_bytes = space.call_method(w_view, "tobytes")
         assert space.unwrap(w_bytes) == "hello"
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to