Skip to content

Commit

Permalink
add more asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaryaz committed Dec 12, 2024
1 parent 7d53fec commit 57af21a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/test/test_zipfile/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2341,8 +2341,8 @@ def test_uncompressed_interleaved_seek_read(self):
zipf.writestr("b.txt", "456")
with zipfile.ZipFile(TESTFN, "r") as zipf:
with zipf.open("a.txt", "r") as a, zipf.open("b.txt", "r") as b:
a.read(1)
b.seek(1)
self.assertEqual(a.read(1), b"1")
self.assertEqual(b.seek(1), 1)
self.assertEqual(b.read(1), b"5")

@requires_bz2()
Expand Down

0 comments on commit 57af21a

Please sign in to comment.