[test_compat] Remove redundant test
authorSergey M․ <dstftw@gmail.com>
Fri, 17 Jul 2015 17:09:56 +0000 (23:09 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 17 Jul 2015 17:09:56 +0000 (23:09 +0600)
test/test_compat.py

index 2ffbc2c488793b4f7bc92285a886c960dbafdbcc..d816a923653a2d70843a61fff25831367e5a5dfc 100644 (file)
@@ -51,7 +51,6 @@ class TestCompat(unittest.TestCase):
         self.assertEqual(compat_urllib_parse_unquote('%2F'), '/')
         self.assertEqual(compat_urllib_parse_unquote('%2f'), '/')
         self.assertEqual(compat_urllib_parse_unquote('%E6%B4%A5%E6%B3%A2'), '津波')
-        self.assertEqual(compat_urllib_parse_unquote(str('%E6%B4%A5%E6%B3%A2')), '津波')
         self.assertEqual(
             compat_urllib_parse_unquote('''<meta property="og:description" content="%E2%96%81%E2%96%82%E2%96%83%E2%96%84%25%E2%96%85%E2%96%86%E2%96%87%E2%96%88" />
 %<a href="https://ar.wikipedia.org/wiki/%D8%AA%D8%B3%D9%88%D9%86%D8%A7%D9%85%D9%8A">%a'''),