Fix DjangoMixin test imports for setuptools >= 50.0
This commit is contained in:
parent
0c3ae9f70b
commit
f162a8a7c5
|
@ -308,7 +308,6 @@ if sys.version_info > (2, 6):
|
||||||
# AttributeError: module 'html.parser' has no attribute
|
# AttributeError: module 'html.parser' has no attribute
|
||||||
# 'HTMLParseError'
|
# 'HTMLParseError'
|
||||||
#
|
#
|
||||||
import pkg_resources._vendor.six
|
|
||||||
from django.utils.six.moves import html_parser as _html_parser
|
from django.utils.six.moves import html_parser as _html_parser
|
||||||
_html_parser.HTMLParseError = Exception
|
_html_parser.HTMLParseError = Exception
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue