summaryrefslogtreecommitdiff
path: root/django/test/html.py
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2021-03-17 16:33:52 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-18 10:21:49 +0100
commitceb4b9ee68dffc6ab0398886f1758f15f037c472 (patch)
treefc9b89dd1ebcb4f768f314d3634031ee62c66214 /django/test/html.py
parent00b0786de533dbb3f6208d8d5eaddbf765b4e5b8 (diff)
Fixed #32547 -- Corrected notes about validation in HTML assertions docs.
Diffstat (limited to 'django/test/html.py')
-rw-r--r--django/test/html.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/django/test/html.py b/django/test/html.py
index 486a0d358d..76ebe0d4f1 100644
--- a/django/test/html.py
+++ b/django/test/html.py
@@ -225,10 +225,10 @@ class Parser(HTMLParser):
def parse_html(html):
"""
- 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.
+ Take a string that contains 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.
"""
parser = Parser()
parser.feed(html)