commit | 44309e6b3768d6d559491ddf6ca56bfad2adb9b5 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Nov 22 00:41:45 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Nov 22 00:41:45 2008 +0000 |
tree | 5d71526f8d1b06a39c67191bf55e85e68c205c95 | |
parent | 656aa28cd50d00171d46df30eaeecd45eb0ae32c [diff] [blame] |
make FileIO.mode always include 'b' #4386 Reviewed by Amaury
diff --git a/Lib/test/test_gzip.py b/Lib/test/test_gzip.py index 3493b8d..d28c024 100644 --- a/Lib/test/test_gzip.py +++ b/Lib/test/test_gzip.py
@@ -150,7 +150,7 @@ def test_mode(self): self.test_write() f = gzip.GzipFile(self.filename, 'r') - self.assertTrue(f.myfileobj.mode.startswith('r')) + self.assertEqual(f.myfileobj.mode, 'rb') f.close() def test_1647484(self):