Fix DjangoMixin test imports for setuptools >= 50.0

This commit is contained in:
Alex Willmer 2020-12-02 19:57:29 +00:00
parent 0c3ae9f70b
commit f162a8a7c5
1 changed files with 0 additions and 1 deletions

View File

@ -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