https://github.com/python/cpython/commit/0a787f2fe4849b59132fd31b8f449c63099e1b23 commit: 0a787f2fe4849b59132fd31b8f449c63099e1b23 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2026-08-12T15:35:04+03:00 summary:
[3.15] gh-155485: Skip `test_pyexpat.test_subparser_inherits_reparse_deferral` when Expat < 2.6.0 (GH-155554) (#155574) Co-authored-by: Miro HronĨok <[email protected]> Co-authored-by: Stan Ulbrych <[email protected]> files: M Lib/test/test_pyexpat.py diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py index b3609ac3e68bd8..ff993c3b58ce86 100644 --- a/Lib/test/test_pyexpat.py +++ b/Lib/test/test_pyexpat.py @@ -996,6 +996,9 @@ def test_parent_parser_outlives_its_subparsers__chain(self): del parser del subparser + # gh-155485: GetReparseDeferralEnabled always returns False with Expat <2.6.0. + @unittest.skipIf(not expat.ParserCreate().GetReparseDeferralEnabled(), + "requires Python compiled with Expat >= 2.6.0") def test_subparser_inherits_reparse_deferral(self): for enabled in (True, False): parser = expat.ParserCreate() _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
