Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eafb2d2 commit 9e687bfCopy full SHA for 9e687bf
1 file changed
Lib/test/test_htmlparser.py
@@ -329,6 +329,8 @@ def test_comments(self):
329
'<!-->'
330
'<!--<!--->'
331
'<!--And I am so-called incorrectly-closed-comment--!>'
332
+ '<!--!>'
333
+ '<!---!>'
334
'<!--I have invalid attempt to close (space) -- >-->'
335
'<!--Me too (invalid character) --x>-->'
336
'<!--Me too (invalid characters) --cheese>-->')
@@ -343,6 +345,8 @@ def test_comments(self):
343
345
('comment', ''),
344
346
('comment', '<!-'),
347
('comment', 'And I am so-called incorrectly-closed-comment'),
348
+ ('comment', ''),
349
350
('comment', 'I have invalid attempt to close (space) -- >'),
351
('comment', 'Me too (invalid character) --x>'),
352
('comment', 'Me too (invalid characters) --cheese>')
0 commit comments