]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] GH-120754: Add more tests around seek + readall (GH-122103) (#122215)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Jul 2024 06:44:41 +0000 (08:44 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jul 2024 06:44:41 +0000 (06:44 +0000)
commitba3aa5a0ef73c9a0099d67d728d95021e3aaf373
tree24b930091d9f53a51482918c4d4f6c98fe9eb318
parent40cdec6a8aeab66e0a6dc4b39654a9121c394a7c
[3.13] GH-120754: Add more tests around seek + readall (GH-122103) (#122215)

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