From: Fred Drake Date: Thu, 17 Apr 2003 22:19:26 +0000 (+0000) Subject: Add test that demonstrates SGML-style handling of processing X-Git-Tag: v2.3c1~1142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fafd56f439319c3044fdcc5b506f9c9824978407;p=python Add test that demonstrates SGML-style handling of processing instructions. --- diff --git a/Lib/test/test_htmlparser.py b/Lib/test/test_htmlparser.py index a10c40b2e2..a830ed7736 100755 --- a/Lib/test/test_htmlparser.py +++ b/Lib/test/test_htmlparser.py @@ -101,6 +101,9 @@ class HTMLParserTestCase(TestCaseBase): self._run_check("", [ ("pi", "processing instruction"), ]) + self._run_check("", [ + ("pi", "processing instruction ?"), + ]) def test_simple_html(self): self._run_check("""