diff options
author | Guido van Rossum <guido@python.org> | 2007-05-15 21:25:12 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-05-15 21:25:12 (GMT) |
commit | a45ea5828e8e9ca9ed18c0de7d81486a86bbe058 (patch) | |
tree | 393eddf5d450a5b73072e2f87c38bd6c38a0baeb /Lib | |
parent | ea0ebd807507e94d06ed2ff046f5bb6693400ecd (diff) | |
download | cpython-a45ea5828e8e9ca9ed18c0de7d81486a86bbe058.zip cpython-a45ea5828e8e9ca9ed18c0de7d81486a86bbe058.tar.gz cpython-a45ea5828e8e9ca9ed18c0de7d81486a86bbe058.tar.bz2 |
Make test_fileio.py work.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_fileio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index 5bad843..064ec0c 100644 --- a/Lib/test/test_fileio.py +++ b/Lib/test/test_fileio.py @@ -61,7 +61,7 @@ class AutoFileTests(unittest.TestCase): # verify readinto self.f.write(bytes([1, 2])) self.f.close() - a = array('b', 'x'*10) + a = array('b', b'x'*10) self.f = _fileio._FileIO(TESTFN, 'r') n = self.f.readinto(a) self.assertEquals(array('b', [1, 2]), a[:n]) |