Author: Amaury Forgeot d'Arc <amaur...@gmail.com>
Branch: py3k
Changeset: r75905:bed47579375c
Date: 2015-02-15 20:04 +0100
http://bitbucket.org/pypy/pypy/changeset/bed47579375c/

Log:    py3-ify another test.

diff --git a/pypy/objspace/std/test/test_memoryobject.py 
b/pypy/objspace/std/test/test_memoryobject.py
--- a/pypy/objspace/std/test/test_memoryobject.py
+++ b/pypy/objspace/std/test/test_memoryobject.py
@@ -129,7 +129,7 @@
         assert "released memory" in repr(v)
 
     def test_pypy_raw_address_base(self):
-        raises(ValueError, memoryview("foobar")._pypy_raw_address)
-        e = raises(ValueError, 
memoryview(bytearray("foobar"))._pypy_raw_address)
+        raises(ValueError, memoryview(b"foobar")._pypy_raw_address)
+        e = raises(ValueError, 
memoryview(bytearray(b"foobar"))._pypy_raw_address)
         assert 'BytearrayBuffer' in str(e.value)
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to