]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (#117248)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Mar 2024 13:55:40 +0000 (14:55 +0100)
committerGitHub <noreply@github.com>
Wed, 27 Mar 2024 13:55:40 +0000 (14:55 +0100)
commit928d735c7a3685150c7c2e4186ac74af5a891d65
tree4489d205639c453b8c437a11f29b59bdc75d308d
parent95c340a86b828cac6c0a2e4f2fa8a96695388c73
[3.8] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (#117248)

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]