diff options
author | Fred Drake <fdrake@acm.org> | 2003-04-17 22:19:26 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-04-17 22:19:26 +0000 |
commit | 94892ca38c3243a53cd543e89f4d36640c6676f2 (patch) | |
tree | 476f94331d06a2e065c0a308a4850aec2f7db8f3 /Lib/test/test_htmlparser.py | |
parent | a31d716d7cd1e268d7f56c1b93bad1e9bc9be273 (diff) | |
download | cpython-94892ca38c3243a53cd543e89f4d36640c6676f2.tar.gz |
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 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("<?processing instruction>", [ ("pi", "processing instruction"), ]) + self._run_check("<?processing instruction ?>", [ + ("pi", "processing instruction ?"), + ]) def test_simple_html(self): self._run_check(""" |