Commits

Philip Jenvey committed df14330

buffer -> memoryview

  • Participants
  • Parent commits 8010fe6
  • Branches py3k

Comments (0)

Files changed (1)

pypy/module/__builtin__/test/test_buffer.py

           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)]")