Author: Armin Rigo <[email protected]>
Branch: cpyext-ext
Changeset: r84902:686345719452
Date: 2016-06-03 15:29 +0200
http://bitbucket.org/pypy/pypy/changeset/686345719452/

Log:    fix test, same as a884eb833aa5

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
@@ -57,5 +57,5 @@
 
     def test_pypy_raw_address_base(self):
         raises(ValueError, memoryview("foobar")._pypy_raw_address)
-        e = raises(ValueError, 
memoryview(bytearray("foobar"))._pypy_raw_address)
-        assert 'BytearrayBuffer' in str(e.value)
+        a = memoryview(bytearray("foobar"))._pypy_raw_address()
+        assert a != 0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to