]> granicus.if.org Git - python/commitdiff
Add test that demonstrates SGML-style handling of processing
authorFred Drake <fdrake@acm.org>
Thu, 17 Apr 2003 22:19:26 +0000 (22:19 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 17 Apr 2003 22:19:26 +0000 (22:19 +0000)
instructions.

Lib/test/test_htmlparser.py

index a10c40b2e20a7d8b3817d661976434f7bcbd3e2a..a830ed7736b137018dd748c6eec9d687830b02d9 100755 (executable)
@@ -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("""