Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r61293:186e137b1c19
Date: 2013-02-15 16:21 -0800
http://bitbucket.org/pypy/pypy/changeset/186e137b1c19/

Log:    2to3

diff --git a/pypy/module/_io/test/test_bufferedio.py 
b/pypy/module/_io/test/test_bufferedio.py
--- a/pypy/module/_io/test/test_bufferedio.py
+++ b/pypy/module/_io/test/test_bufferedio.py
@@ -563,9 +563,9 @@
         import _io
         raw = _io.FileIO(self.tmpfile, 'wb+')
         f = _io.BufferedRandom(raw)
-        f.write('abc')
+        f.write(b'abc')
         f.seek(0)
-        assert f.read() == 'abc'
+        assert f.read() == b'abc'
 
     def test_write_rewind_write(self):
         # Various combinations of reading / writing / seeking
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to