mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 03:47:27 +00:00
[test_compat] Ignore unicode_literals
This commit is contained in:
parent
fdca55fe34
commit
278143df5b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def test_all_present(self):
|
||||||
all_names = youtube_dl.compat.__all__
|
all_names = youtube_dl.compat.__all__
|
||||||
present_names = set(filter(
|
present_names = set(filter(
|
||||||
lambda c: '_' in c and not c.startswith('_'),
|
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))
|
self.assertEqual(all_names, sorted(present_names))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue