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.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/django/test/html.py b/django/test/html.py
index 900aa3d3f0..726beb6e93 100644
--- a/django/test/html.py
+++ b/django/test/html.py
@@ -1,6 +1,4 @@
-"""
-Comparing two html documents.
-"""
+"""Compare two HTML documents."""
import re
@@ -214,7 +212,7 @@ class Parser(HTMLParser):
def parse_html(html):
"""
- Takes a string that contains *valid* HTML and turns it into a Python object
+ Take a string that contains *valid* HTML and turn it into a Python object
structure that can be easily compared against other HTML on semantic
equivalence. Syntactical differences like which quotation is used on
arguments will be ignored.