diff options
author | felix <felix.von.s@posteo.de> | 2022-02-04 14:37:02 +0100 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-18 04:26:43 +0530 |
commit | 77f9033095cd8e1092a80db67f2b577cf13f95a8 (patch) | |
tree | d3124c5be0d7b00d225da2edd1f5f7e244aef88f /test/test_compat.py | |
parent | 19a0394044bfad36cd665450271b8eb048a41c02 (diff) | |
download | hypervideo-pre-77f9033095cd8e1092a80db67f2b577cf13f95a8.tar.lz hypervideo-pre-77f9033095cd8e1092a80db67f2b577cf13f95a8.tar.xz hypervideo-pre-77f9033095cd8e1092a80db67f2b577cf13f95a8.zip |
[compat] Split into sub-modules (#2173)
Authored by: fstirlitz, pukkandan
Diffstat (limited to 'test/test_compat.py')
-rw-r--r-- | test/test_compat.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/test_compat.py b/test/test_compat.py index 29e7384f0..8e40a4180 100644 --- a/test/test_compat.py +++ b/test/test_compat.py @@ -42,14 +42,6 @@ class TestCompat(unittest.TestCase): finally: compat_setenv('HOME', old_home or '') - def test_all_present(self): - import yt_dlp.compat - all_names = yt_dlp.compat.__all__ - present_names = set(filter( - lambda c: '_' in c and not c.startswith('_'), - dir(yt_dlp.compat))) - {'unicode_literals'} - self.assertEqual(all_names, sorted(present_names)) - def test_compat_urllib_parse_unquote(self): self.assertEqual(compat_urllib_parse_unquote('abc%20def'), 'abc def') self.assertEqual(compat_urllib_parse_unquote('%7e/abc+def'), '~/abc+def') |