summaryrefslogtreecommitdiff
path: root/django/test/html.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-09-16 12:15:00 -0400
committerTim Graham <timograham@gmail.com>2016-09-17 15:44:06 -0400
commit8119b679eb85cdc0ae3d321e54d06dd0200a1e82 (patch)
treeb4f4e40a371569a260a39ca310e8e984d8582d74 /django/test/html.py
parent17677d510f65012531a5af57fd056fb15cfe1067 (diff)
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
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):