diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2011-11-01 22:31:09 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2011-11-01 22:31:09 (GMT) |
commit | 91d5193b3ad208f359107512ff12a416c9dbec3b (patch) | |
tree | 3868c3e9f202850439d6ec606b00eed3db499530 /Lib/test | |
parent | c1e73c30e98c9b59460d0f963a391a08156286e5 (diff) | |
download | cpython-91d5193b3ad208f359107512ff12a416c9dbec3b.zip cpython-91d5193b3ad208f359107512ff12a416c9dbec3b.tar.gz cpython-91d5193b3ad208f359107512ff12a416c9dbec3b.tar.bz2 |
Closes #2892: preserve iterparse events in case of SyntaxError.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_xml_etree.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_xml_etree.py b/Lib/test/test_xml_etree.py index 22fafa9..b7a996c 100644 --- a/Lib/test/test_xml_etree.py +++ b/Lib/test/test_xml_etree.py @@ -754,6 +754,7 @@ def iterparse(): ... print(action, elem.tag) ... except ET.ParseError as v: ... print(v) + end document junk after document element: line 1, column 12 """ |