Skip to content

Commit 142f74a

Browse files
Update Lib/test/test_gzip.py
Co-authored-by: Neko Asakura <neko.asakura@outlook.com>
1 parent 66e367b commit 142f74a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/test/test_gzip.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def test_seek_write(self):
322322

323323
def test_seek_write_return_value(self):
324324
for whence in (io.SEEK_SET, io.SEEK_CUR):
325-
for padding in (16, 1024 * 1024):
325+
for padding in (16, gzip._WRITE_BUFFER_SIZE + 16):
326326
with self.subTest(whence=whence, padding=padding):
327327
data = io.BytesIO()
328328
with gzip.GzipFile(fileobj=data, mode='wb') as f:

0 commit comments

Comments
 (0)