Skip to content

Commit 2a79837

Browse files
committed
[4.2.x] Fixed test_utils.tests.HTMLEqualTests.test_parsing_errors following Python's HTMLParser fixed parsing.
Further details about Python changes can be found in: python/cpython@0243f97. Refs #36499. Thank you Clifford Gama for the thorough review! Backport of e4515da from main.
1 parent 7335a1a commit 2a79837

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_utils/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ def test_parsing_errors(self):
966966
"('Unexpected end tag `div` (Line 1, Column 6)', (1, 6))"
967967
)
968968
with self.assertRaisesMessage(AssertionError, error_msg):
969-
self.assertHTMLEqual("< div></ div>", "<div></div>")
969+
self.assertHTMLEqual("< div></div>", "<div></div>")
970970
with self.assertRaises(HTMLParseError):
971971
parse_html("</p>")
972972

0 commit comments

Comments
 (0)