diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-08-27 02:48:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-27 02:48:06 (GMT) |
commit | fae0ed5099de594a9204071d555cb8b76368cbf4 (patch) | |
tree | d435837fb1b7f1fd76a84a1ba56592cc2873b809 /Lib/test/test_htmlparser.py | |
parent | 9a943b4ce13fac26873b8100e89c818c5c47ac4b (diff) | |
download | cpython-fae0ed5099de594a9204071d555cb8b76368cbf4.zip cpython-fae0ed5099de594a9204071d555cb8b76368cbf4.tar.gz cpython-fae0ed5099de594a9204071d555cb8b76368cbf4.tar.bz2 |
bpo-37328: remove deprecated HTMLParser.unescape (GH-14186)
It is deprecated since Python 3.4.
Diffstat (limited to 'Lib/test/test_htmlparser.py')
-rw-r--r-- | Lib/test/test_htmlparser.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_htmlparser.py b/Lib/test/test_htmlparser.py index 326e342..a2bfb39 100644 --- a/Lib/test/test_htmlparser.py +++ b/Lib/test/test_htmlparser.py @@ -573,13 +573,6 @@ text for html, expected in data: self._run_check(html, expected) - def test_unescape_method(self): - from html import unescape - p = self.get_collector() - with self.assertWarns(DeprecationWarning): - s = '""""""&#bad;' - self.assertEqual(p.unescape(s), unescape(s)) - def test_broken_comments(self): html = ('<! not really a comment >' '<! not a comment either -->' |