diff options
Diffstat (limited to 'Lib/test')
-rwxr-xr-x | Lib/test/test_htmlparser.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_htmlparser.py b/Lib/test/test_htmlparser.py index 85e60e6..9d60dd8 100755 --- a/Lib/test/test_htmlparser.py +++ b/Lib/test/test_htmlparser.py @@ -134,6 +134,12 @@ text ("data", "\n"), ]) + def test_unclosed_entityref(self): + self._run_check("&entityref foo", [ + ("entityref", "entityref"), + ("data", " foo"), + ]) + def test_doctype_decl(self): inside = """\ DOCTYPE html [ |