Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r69766:df1433032bf6
Date: 2014-03-06 14:42 -0800
http://bitbucket.org/pypy/pypy/changeset/df1433032bf6/

Log:    buffer -> memoryview

diff --git a/pypy/module/__builtin__/test/test_buffer.py 
b/pypy/module/__builtin__/test/test_buffer.py
--- a/pypy/module/__builtin__/test/test_buffer.py
+++ b/pypy/module/__builtin__/test/test_buffer.py
@@ -67,7 +67,7 @@
           def __int__(self):
             return self.x
 
-        buf = buffer('hello world')
+        buf = memoryview(b'hello world')
         raises(TypeError, "buf[MyInt(0)]")
         raises(TypeError, "buf[MyInt(0):MyInt(5)]")
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to