mirror of
https://github.com/python/cpython.git
synced 2025-10-06 23:21:06 +00:00
Add test that demonstrates SGML-style handling of processing
instructions.
This commit is contained in:
parent
243152384b
commit
fafd56f439
1 changed files with 3 additions and 0 deletions
|
@ -101,6 +101,9 @@ class HTMLParserTestCase(TestCaseBase):
|
|||
self._run_check("<?processing instruction>", [
|
||||
("pi", "processing instruction"),
|
||||
])
|
||||
self._run_check("<?processing instruction ?>", [
|
||||
("pi", "processing instruction ?"),
|
||||
])
|
||||
|
||||
def test_simple_html(self):
|
||||
self._run_check("""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue