Skip to content

Commit e4515da

Browse files
committed
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. Thank you Clifford Gama for the thorough review!
1 parent 2c99fbc commit e4515da

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
@@ -962,7 +962,7 @@ def test_parsing_errors(self):
962962
"('Unexpected end tag `div` (Line 1, Column 6)', (1, 6))"
963963
)
964964
with self.assertRaisesMessage(AssertionError, error_msg):
965-
self.assertHTMLEqual("< div></ div>", "<div></div>")
965+
self.assertHTMLEqual("< div></div>", "<div></div>")
966966
with self.assertRaises(HTMLParseError):
967967
parse_html("</p>")
968968

0 commit comments

Comments
 (0)