commit | 6e0d68e9e25fd6ea692a74a57447e98b87a606ad | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Fri Nov 21 00:11:22 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Fri Nov 21 00:11:22 2008 +0000 |
tree | 96bcfa6a0fbf1ec9bfe986bd3ebc1530d342cad1 | |
parent | 836b670e893a78cd3fc585aad71875a4bdf1a0a9 [diff] [blame] |
fix test_gzip
diff --git a/Lib/test/test_gzip.py b/Lib/test/test_gzip.py index d28c024..3493b8d 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.assertEqual(f.myfileobj.mode, 'rb') + self.assertTrue(f.myfileobj.mode.startswith('r')) f.close() def test_1647484(self):