1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00

[test_compat] Ignore unicode_literals

This commit is contained in:
Philipp Hagemeister 2014-11-03 19:12:06 +01:00
parent fdca55fe34
commit 278143df5b

View file

@ -37,7 +37,7 @@ class TestCompat(unittest.TestCase):
all_names = youtube_dl.compat.__all__
present_names = set(filter(
lambda c: '_' in c and not c.startswith('_'),
dir(youtube_dl.compat)))
dir(youtube_dl.compat))) - set(['unicode_literals'])
self.assertEqual(all_names, sorted(present_names))
if __name__ == '__main__':