Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53954:adbb724b5943
Date: 2012-03-23 18:20 +0100
http://bitbucket.org/pypy/pypy/changeset/adbb724b5943/
Log: s/buffer/memoryview
diff --git a/pypy/module/posix/test/test_posix2.py
b/pypy/module/posix/test/test_posix2.py
--- a/pypy/module/posix/test/test_posix2.py
+++ b/pypy/module/posix/test/test_posix2.py
@@ -695,7 +695,7 @@
assert count > 0
s = s[count:]
writeall(b'hello, ')
- writeall(buffer(b'world!\n'))
+ writeall(memoryview(b'world!\n'))
res = os.lseek(fd, 0, 0)
assert res == 0
data = b''
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit