summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLib/test/test_htmlparser.py3
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("""