summaryrefslogtreecommitdiff
path: root/django/test/html.py
diff options
context:
space:
mode:
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 195c61ede0..dfff8d6369 100644
--- a/django/test/html.py
+++ b/django/test/html.py
@@ -10,7 +10,7 @@ from django.utils import six
from django.utils.encoding import force_text, python_2_unicode_compatible
from django.utils.html_parser import HTMLParseError, HTMLParser
-WHITESPACE = re.compile('\s+')
+WHITESPACE = re.compile(r'\s+')
def normalize_whitespace(string):