Author: Manuel Jacob <[email protected]>
Branch: py3.3
Changeset: r76165:90616977c977
Date: 2015-02-27 10:49 +0100
http://bitbucket.org/pypy/pypy/changeset/90616977c977/
Log: Fix mmap memoryview test.
diff --git a/pypy/module/mmap/test/test_mmap.py
b/pypy/module/mmap/test/test_mmap.py
--- a/pypy/module/mmap/test/test_mmap.py
+++ b/pypy/module/mmap/test/test_mmap.py
@@ -535,7 +535,7 @@
b = memoryview(m)
assert len(b) == 6
assert b.readonly is False
- assert b[3] == b"b"
+ assert b[3] == ord(b"b")
assert b[:] == b"foobar"
del b # For CPython: "exported pointers exist"
m.close()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit