]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] GH-120754: Add more tests around seek + readall (GH-122103) (#122216)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Jul 2024 06:34:05 +0000 (08:34 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jul 2024 06:34:05 +0000 (06:34 +0000)
commit9dad694dc5c48811ee02cacbd2cb078b6d053004
tree765ce9619017337327a47f613d8b4fe0bd84749a
parent257c413cd16ddabcedde413288d0bb93bf872da7
[3.12] GH-120754: Add more tests around seek + readall (GH-122103) (#122216)

GH-120754: Add more tests around seek + readall (GH-122103)

In the process of speeding up readall, A number of related tests
(ex. large file tests in test_zipfile) found problems with the
change I was making. This adds I/O tests to specifically test these
cases to help ensure they don't regress and hopefully make debugging
easier.

This is part of the improvements from
https://github.com/python/cpython/pull/121593GH-issuecomment-2222261986
(cherry picked from commit 9eb734111be90399fb6ae2f717d736abb8e518cb)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Lib/test/test_largefile.py