summaryrefslogtreecommitdiff
path: root/django/test/html.py
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2012-03-01 16:09:01 +0000
committerCarl Meyer <carl@oddbird.net>2012-03-01 16:09:01 +0000
commit98a1e14e093211f15e91daa4c9de0402be5d31b8 (patch)
tree2ffa72b7a8877acc56fcc525b4c50be43adb63cf /django/test/html.py
parentd2988ce0f4eb3e021ed317f7d0347e1f48481f37 (diff)
Fixed #17730 - Renamed django.utils.htmlparser to django.utils.html_parser to avoid shadowing stdlib HTMLParser in rare case-sensitivity situations. Thanks un33k for the report and gldnspud for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/test/html.py')
-rw-r--r--django/test/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/html.py b/django/test/html.py
index ff073ba728..f1e4897efd 100644
--- a/django/test/html.py
+++ b/django/test/html.py
@@ -4,7 +4,7 @@ Comparing two html documents.
import re
from HTMLParser import HTMLParseError
from django.utils.encoding import force_unicode
-from django.utils.htmlparser import HTMLParser
+from django.utils.html_parser import HTMLParser
WHITESPACE = re.compile('\s+')