Source: python-django
Version: 3:4.2.23-1
Severity: serious
User: [email protected]
Usertags: regression

Hi Maintainer

Sometime around 2025-08-23, python-django's autopkgtest regressed in
testing [1].  I've copied what I hope is the relevant part of the log
below.

Regards
Graham


[1] https://ci.debian.net/packages/p/python-django/testing/amd64/


103s ======================================================================
103s FAIL: test_parsing_errors
(test_utils.tests.HTMLEqualTests.test_parsing_errors)
103s ----------------------------------------------------------------------
103s AssertionError: < div> != <div>
103s - < div>
103s + <div>
103s
103s During handling of the above exception, another exception occurred:
103s
103s Traceback (most recent call last):
103s File "/usr/lib/python3.13/unittest/case.py", line 58, in testPartExecutor
103s yield
103s File "/usr/lib/python3.13/unittest/case.py", line 651, in run
103s self._callTestMethod(testMethod)
103s
103s File "/usr/lib/python3.13/unittest/case.py", line 606, in _callTestMethod
103s if method() is not None:
103s ^^^^^^^^^^^^^^^
103s File 
"/tmp/autopkgtest-lxc.txqwbqw7/downtmp/autopkgtest_tmp/tests/test_utils/tests.py",
line 968, in test_parsing_errors
103s with self.assertRaisesMessage(AssertionError, error_msg):
103s ^^^^^^^^^^^^^^^
103s File "/usr/lib/python3.13/contextlib.py", line 162, in __exit__
103s self.gen.throw(value)
103s ^^^^^^^
103s File "/usr/lib/python3/dist-packages/django/test/testcases.py",
line 889, in _assert_raises_or_warns_cm
103s self.assertIn(expected_message, str(getattr(cm, cm_attr)))
103s ^^^^^^^^^^^^^^^
103s File "/usr/lib/python3.13/unittest/case.py", line 1174, in assertIn
103s self.fail(self._formatMessage(msg, standardMsg))
103s ^^^^^^^^^^^
103s File "/usr/lib/python3.13/unittest/case.py", line 732, in fail
103s raise self.failureException(msg)
103s ^^^^^^^^^^^^^^^
103s AssertionError: "First argument is not valid HTML:\n('Unexpected
end tag `div` (Line 1, Column 6)', (1, 6))" not found in '< div> !=
<div>\n- < div>\n+ <div>'

Reply via email to