[pypy-commit] pypy default: revert aebaccb5bc42, checked in on wrong branch
plan_rich
pypy.commits at gmail.com
Mon Jan 9 12:25:22 EST 2017
Author: Richard Plangger <planrichi at gmail.com>
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"
More information about the pypy-commit
mailing list