From fafd56f439319c3044fdcc5b506f9c9824978407 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 17 Apr 2003 22:19:26 +0000 Subject: [PATCH] Add test that demonstrates SGML-style handling of processing instructions. --- Lib/test/test_htmlparser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_htmlparser.py b/Lib/test/test_htmlparser.py index a10c40b2e20..a830ed7736b 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("""