mirror of
https://github.com/python/cpython.git
synced 2024-11-25 19:03:49 +08:00
Add test that demonstrates SGML-style handling of processing
instructions.
This commit is contained in:
parent
243152384b
commit
fafd56f439
@ -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…
Reference in New Issue
Block a user