Skip to content
Snippets Groups Projects
Commit 4e04f104 authored by dirkf's avatar dirkf
Browse files

[compat] Update test_compat

[skip ci]
parent 90c9f789
No related branches found
No related tags found
No related merge requests found
......@@ -50,9 +50,9 @@ class TestCompat(unittest.TestCase):
import youtube_dl.compat
all_names = sorted(
youtube_dl.compat.__all__ + youtube_dl.compat.legacy)
present_names = set(filter(
present_names = set(map(compat_str, filter(
lambda c: '_' in c and not c.startswith('_'),
dir(youtube_dl.compat))) - set(['unicode_literals'])
dir(youtube_dl.compat)))) - set(['unicode_literals'])
self.assertEqual(all_names, sorted(present_names))
def test_compat_urllib_parse_unquote(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment