summaryrefslogtreecommitdiff
path: root/Lib/test/test_htmlparser.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-09-06 07:57:38 -0400
committerBenjamin Peterson <benjamin@python.org>2011-09-06 07:57:38 -0400
commit388c0e2325f606d497ec174a4a6b28c4d352db2c (patch)
tree83ab157488dd364de2a26b453c34e6ce7cc29537 /Lib/test/test_htmlparser.py
parent6d8f744730c0689d822db1a2425170d7d5d44aca (diff)
parent900c292c6b886ad9c693d7e0481dc16398d5071d (diff)
downloadcpython-git-388c0e2325f606d497ec174a4a6b28c4d352db2c.tar.gz
merge heads
Diffstat (limited to 'Lib/test/test_htmlparser.py')
-rw-r--r--Lib/test/test_htmlparser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_htmlparser.py b/Lib/test/test_htmlparser.py
index 637ab01f12..d45e45327f 100644
--- a/Lib/test/test_htmlparser.py
+++ b/Lib/test/test_htmlparser.py
@@ -377,7 +377,8 @@ class HTMLParserTolerantTestCase(TestCaseBase):
p = html.parser.HTMLParser()
self.assertEqual(p.unescape('&#bad;'),'&#bad;')
self.assertEqual(p.unescape('&#0038;'),'&')
-
+ # see #12888
+ self.assertEqual(p.unescape('&#123; ' * 1050), '{ ' * 1050)
def test_main():
support.run_unittest(HTMLParserTestCase, HTMLParserTolerantTestCase)