summaryrefslogtreecommitdiff
path: root/django/test/html.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-07-20 16:16:57 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-07-22 09:29:56 +0200
commitca07fda2efea24cb43423b884fa4648d44e52963 (patch)
tree5c172bf2155b58e380363d3e82ca2ef14afd163f /django/test/html.py
parent0d914d08a0d7b5a1521f498a8047971fe6cd61e7 (diff)
[py3] Switched to Python 3-compatible imports.
xrange/range will be dealt with in a separate commit due to the huge number of changes.
Diffstat (limited to 'django/test/html.py')
-rw-r--r--django/test/html.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/test/html.py b/django/test/html.py
index 8d577d91fd..2a1421bf17 100644
--- a/django/test/html.py
+++ b/django/test/html.py
@@ -5,9 +5,8 @@ Comparing two html documents.
from __future__ import unicode_literals
import re
-from HTMLParser import HTMLParseError
from django.utils.encoding import force_unicode
-from django.utils.html_parser import HTMLParser
+from django.utils.html_parser import HTMLParser, HTMLParseError
from django.utils import six