Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Streamline docsting of ParentParserLifetimeTest
Idea by @picnixz
  • Loading branch information
hartwork committed Sep 28, 2025
commit f1e3e3624b1e443246a36cd0d20b09652e62edd6
3 changes: 2 additions & 1 deletion Lib/test/test_pyexpat.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,8 @@ class ParentParserLifetimeTest(unittest.TestCase):
"""
Subparsers make use of their parent XML_Parser inside of Expat.
As a result, parent parsers need to outlive subparsers.
Regression test for issue 139400

See https://github.com/python/cpython/issues/139400.
"""
def test_parent_parser_outlives_its_subparsers(self):
parser = expat.ParserCreate()
Expand Down