aboutsummaryrefslogtreecommitdiff
path: root/test/test_YoutubeDL.py
diff options
context:
space:
mode:
authorLev <57556659+llistochek@users.noreply.github.com>2024-02-20 07:19:24 +0000
committerGitHub <noreply@github.com>2024-02-20 12:49:24 +0530
commit104a7b5a46dc1805157fb4cc11c05876934d37c1 (patch)
tree983be1fc3ba02a1314ba87badff6b8fe39b49843 /test/test_YoutubeDL.py
parent7e90e34fa4617b53f8c8a9e69f460508cb1f51b0 (diff)
[ie] Migrate commonly plural fields to lists (#8917)
Authored by: llistochek, pukkandan Related: #3944
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r--test/test_YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index 0087cbc94..6be47af97 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -941,7 +941,7 @@ class TestYoutubeDL(unittest.TestCase):
def get_videos(filter_=None):
ydl = YDL({'match_filter': filter_, 'simulate': True})
for v in videos:
- ydl.process_ie_result(v, download=True)
+ ydl.process_ie_result(v.copy(), download=True)
return [v['id'] for v in ydl.downloaded_info_dicts]
res = get_videos()