Unverified Commit e0abaab2 authored by Sergey M․'s avatar Sergey M․
Browse files

[test_YoutubeDL] Fix get_ids

parent de1121d7
......@@ -818,8 +818,9 @@ class TestYoutubeDL(unittest.TestCase):
def get_ids(params):
ydl = YDL(params)
# make a copy because the dictionary can be modified
# make a deep copy because the dictionary and nested entries
# can be modified
return [int(v['id']) for v in ydl.downloaded_info_dicts]
result = get_ids({})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment