diff options
author | Simon Sawicki <contact@grub4k.xyz> | 2024-11-15 22:06:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 22:06:15 +0100 |
commit | 39d79c9b9cf23411d935910685c40aa1a2fdb409 (patch) | |
tree | 63ac6f5c85b93bbaa2c2ba673057fda1da38d34a /test/test_utils.py | |
parent | f2a4983df7a64c4e93b56f79dbd16a781bd90206 (diff) |
[utils] Fix `join_nonempty`, add `**kwargs` to `unpack` (#11559)
Authored by: Grub4K
Diffstat (limited to 'test/test_utils.py')
-rw-r--r-- | test/test_utils.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index b5f35736b..835774a91 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -72,7 +72,6 @@ from yt_dlp.utils import ( intlist_to_bytes, iri_to_uri, is_html, - join_nonempty, js_to_json, limit_length, locked_file, @@ -2158,10 +2157,6 @@ Line 1 assert int_or_none(v=10) == 10, 'keyword passed positional should call function' assert int_or_none(scale=0.1)(10) == 100, 'call after partial application should call the function' - assert callable(join_nonempty(delim=', ')), 'varargs positional should apply partially' - assert callable(join_nonempty()), 'varargs positional should apply partially' - assert join_nonempty(None, delim=', ') == '', 'passed varargs should call the function' - if __name__ == '__main__': unittest.main() |