mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
fix test_gzip
This commit is contained in:
parent
836b670e89
commit
6e0d68e9e2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue