From: Tithen-Firion Date: Fri, 28 Apr 2017 16:05:14 +0000 (+0200) Subject: [test_utils] Add one more clean_html test X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=9222d945107411ba657dab965fab63de8e8781b9;p=youtube-dl [test_utils] Add one more clean_html test --- diff --git a/test/test_utils.py b/test/test_utils.py index 4cd818850..9e1808e6b 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -899,6 +899,7 @@ class TestUtil(unittest.TestCase): def test_clean_html(self): self.assertEqual(clean_html('a:\nb'), 'a: b') self.assertEqual(clean_html('a:\n "b"'), 'a: "b"') + self.assertEqual(clean_html('a
\xa0b'), 'a\nb') def test_intlist_to_bytes(self): self.assertEqual(