Skip to content

Commit fd76a9f

Browse files
committed
gh-160071: Remove duplicate gzip position assertion
Signed-off-by: Casper Verbuyst <casperverbuyst@gmail.com>
1 parent 142f74a commit fd76a9f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎Lib/test/test_gzip.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,6 @@ def test_seek_write_return_value(self):
331331
offset = position if whence == io.SEEK_SET else padding
332332
self.assertEqual(f.seek(offset, whence), position)
333333
f.write(b'record')
334-
self.assertEqual(f.seek(0, io.SEEK_CUR),
335-
position + len(b'record'))
336334
self.assertEqual(f.tell(), position + len(b'record'))
337335
self.assertEqual(gzip.decompress(data.getvalue()),
338336
b'header' + b'\0' * padding + b'record')

0 commit comments

Comments
 (0)