]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-140601: Refactor ElementTree.iterparse() tests (GH-141499)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 13 Nov 2025 11:37:01 +0000 (13:37 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Nov 2025 11:37:01 +0000 (13:37 +0200)
commit2fbd39666663cb5ca1c0e3021ce2e7bc72331020
tree19c4d69b00eabe74a4d243a827833271fc39c830
parentd8e6bdc0d083f4e76ac49574544555ad91257592
gh-140601: Refactor ElementTree.iterparse() tests (GH-141499)

Split existing tests on smaller methods and move them to separate class.
Rename variable "content" to "it".
Use BytesIO instead of StringIO.
Add few more tests.
Lib/test/test_xml_etree.py