8000 Update Lib/test/test_xml_etree.py · python/cpython@b449607 · GitHub
[go: up one dir, main page]

Skip to content

Commit b449607

Browse files
picnixzvstinner
andauthored
Update Lib/test/test_xml_etree.py
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 4ec39bd commit b449607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_xml_etree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def test_simpleops(self):
344344
self.serialize_check(element, '<tag key="value"><subtag /></tag>') # 4
345345
element.remove(subelement)
346346
self.serialize_check(element, '<tag key="value" />') # 5
347-
with self.assertRaisesRegex(ValueError,
347+
with self.assertRaisesRegex(ValueError,
348348
r'Element\.remove\(.+\): element not found'):
349349
element.remove(subelement)
350350
self.serialize_check(element, '<tag key="value" />') # 6

0 commit comments

Comments
 (0)
0