fix test_gzip
This commit is contained in:
parent
836b670e89
commit
6e0d68e9e2
|
@ -150,7 +150,7 @@ class TestGzip(unittest.TestCase):
|
|||
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):
|
||||
|
|
Loading…
Reference in New Issue