From f162a8a7c51222ce6fafa640069c54df7eba7af9 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Wed, 2 Dec 2020 19:57:29 +0000 Subject: [PATCH] Fix DjangoMixin test imports for setuptools >= 50.0 --- tests/module_finder_test.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/module_finder_test.py b/tests/module_finder_test.py index fc3a17de..ac3bfe6c 100644 --- a/tests/module_finder_test.py +++ b/tests/module_finder_test.py @@ -308,7 +308,6 @@ if sys.version_info > (2, 6): # AttributeError: module 'html.parser' has no attribute # 'HTMLParseError' # - import pkg_resources._vendor.six from django.utils.six.moves import html_parser as _html_parser _html_parser.HTMLParseError = Exception