summaryrefslogtreecommitdiff
path: root/django/test/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/test/utils.py')
-rw-r--r--django/test/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/django/test/utils.py b/django/test/utils.py
index 63067c98a6..ea39794e1a 100644
--- a/django/test/utils.py
+++ b/django/test/utils.py
@@ -637,7 +637,8 @@ def compare_xml(want, got):
important. Ignore comment nodes, processing instructions, document type
node, and leading and trailing whitespaces.
- Based on https://github.com/lxml/lxml/blob/master/src/lxml/doctestcompare.py
+ Based on
+ https://github.com/lxml/lxml/blob/master/src/lxml/doctestcompare.py
"""
_norm_whitespace_re = re.compile(r"[ \t\n][ \t\n]+")