gentoo/dev-python/django/files/django-4.2.24-htmlparser.patch
Michał Górny b99eca6d57
dev-python/django: Bump to 4.2.24
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-03 20:15:18 +02:00

16 lines
605 B
Diff

diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py
index f755b8cebc..ef5fe77951 100644
--- a/tests/utils_tests/test_html.py
+++ b/tests/utils_tests/test_html.py
@@ -101,9 +101,7 @@ class TestUtilsHtml(SimpleTestCase):
(3, 9): (3, 9, 24),
}
py_version = sys.version_info[:2]
- htmlparser_fixed = (
- py_version in min_fixed and sys.version_info >= min_fixed[py_version]
- )
+ htmlparser_fixed = True
items = (
(
"<p>See: &#39;&eacute; is an apostrophe followed by e acute</p>",