diff options
author | Fred Drake <fdrake@acm.org> | 2003-04-17 22:19:26 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-04-17 22:19:26 (GMT) |
commit | fafd56f439319c3044fdcc5b506f9c9824978407 (patch) | |
tree | 78118420c9fc4e66bbb4f1f6a15ea4221187b3b0 /Lib/test/test_htmlparser.py | |
parent | 243152384b201a07a6942b44a71aa41a4bf30cfe (diff) | |
download | cpython-fafd56f439319c3044fdcc5b506f9c9824978407.zip cpython-fafd56f439319c3044fdcc5b506f9c9824978407.tar.gz cpython-fafd56f439319c3044fdcc5b506f9c9824978407.tar.bz2 |
Add test that demonstrates SGML-style handling of processing
instructions.
Diffstat (limited to 'Lib/test/test_htmlparser.py')
-rwxr-xr-x | Lib/test/test_htmlparser.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_htmlparser.py b/Lib/test/test_htmlparser.py index a10c40b..a830ed7 100755 --- a/Lib/test/test_htmlparser.py +++ b/Lib/test/test_htmlparser.py @@ -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(""" |