summaryrefslogtreecommitdiff
path: root/tests/test_utils
diff options
context:
space:
mode:
authorNatalia <124304+nessita@users.noreply.github.com>2025-07-21 15:23:32 -0300
committernessita <124304+nessita@users.noreply.github.com>2025-08-12 23:04:09 -0300
commite4515dad7a6d953c0bd2414127ba36e1446ff41a (patch)
treea0fba158d13744543ac3d3a39cbd2b51d0d227e9 /tests/test_utils
parent2c99fbcf95f07eaff0bf9673af7c82d07353df8f (diff)
Fixed test_utils.tests.HTMLEqualTests.test_parsing_errors following Python's HTMLParser fixed parsing.
Further details about Python changes can be found in: https://github.com/python/cpython/commit/0243f97cbadec8d985e63b1daec5d1cbc850cae3. Thank you Clifford Gama for the thorough review!
Diffstat (limited to 'tests/test_utils')
-rw-r--r--tests/test_utils/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py
index 37e87aa102..9c22b61b4f 100644
--- a/tests/test_utils/tests.py
+++ b/tests/test_utils/tests.py
@@ -962,7 +962,7 @@ class HTMLEqualTests(SimpleTestCase):
"('Unexpected end tag `div` (Line 1, Column 6)', (1, 6))"
)
with self.assertRaisesMessage(AssertionError, error_msg):
- self.assertHTMLEqual("< div></ div>", "<div></div>")
+ self.assertHTMLEqual("< div></div>", "<div></div>")
with self.assertRaises(HTMLParseError):
parse_html("</p>")