Commits

Philip Jenvey committed 186e137

2to3

  • Participants
  • Parent commits 057f9d8
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/module/_io/test/test_bufferedio.py

         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