Add test that demonstrates SGML-style handling of processing

instructions.
This commit is contained in:
Fred Drake 2003-04-17 22:19:26 +00:00
parent 243152384b
commit fafd56f439

View File

@ -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("""