This commit is contained in:
Kovid Goyal 2017-06-09 08:23:29 +05:30
parent e52c11c2c3
commit 201b27386d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -159,6 +159,7 @@ def comments(test, parse_function):
test.assertEqual(len(XPath('//h:body')(root)), 1, 'Failed to parse with comment containing dashes') test.assertEqual(len(XPath('//h:body')(root)), 1, 'Failed to parse with comment containing dashes')
test.assertEqual(len(tuple(root.iterdescendants(etree.Comment))), 1) test.assertEqual(len(tuple(root.iterdescendants(etree.Comment))), 1)
basic_checks = (nonvoid_cdata_elements, namespaces, space_characters, basic_checks = (nonvoid_cdata_elements, namespaces, space_characters,
case_insensitive_element_names, entities, comments, case_insensitive_element_names, entities, comments,
multiple_html_and_body, attribute_replacement) multiple_html_and_body, attribute_replacement)