]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117247)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Mar 2024 13:45:22 +0000 (14:45 +0100)
committerGitHub <noreply@github.com>
Wed, 27 Mar 2024 13:45:22 +0000 (14:45 +0100)
commitf7c7e72a1c3bfe2f5c791a73557f9b29d369c89b
tree108ce9d0f1d8028ccb8d0d9a9aeb3375adb88592
parenta04a0f65858da840740886fe60500d779a52a6e3
[3.9] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117247)

This fixes XML unittest fallout from the https://github.com/python/cpython/issues/115398 security fix.  When configured using `--with-system-expat` on systems with older pre 2.6.0 versions of libexpat, our unittests were failing.

(cherry picked from commit 9f74e86c78853c101a23e938f8e32ea838d8f62e)

Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
Lib/test/test_sax.py
Lib/test/test_xml_etree.py
Misc/NEWS.d/next/Tests/2024-03-24-23-49-25.gh-issue-117187.eMLT5n.rst [new file with mode: 0644]