aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_download.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-01-03 19:06:26 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-01-03 19:41:08 +0530
commitf46e2f9d929f395b32b52cdab93dde980a5ddaf1 (patch)
treefc6dbdfd626e74282879a088332ae33efb3aef74 /test/test_download.py
parent9c906919aed256fa900ba25b0387649cad3773e2 (diff)
downloadhypervideo-pre-f46e2f9d929f395b32b52cdab93dde980a5ddaf1.tar.lz
hypervideo-pre-f46e2f9d929f395b32b52cdab93dde980a5ddaf1.tar.xz
hypervideo-pre-f46e2f9d929f395b32b52cdab93dde980a5ddaf1.zip
Add key `requested_downloads` in the root `info_dict`
Diffstat (limited to 'test/test_download.py')
-rwxr-xr-xtest/test_download.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_download.py b/test/test_download.py
index d7c469f3d..818a670fb 100755
--- a/test/test_download.py
+++ b/test/test_download.py
@@ -53,7 +53,7 @@ class YoutubeDL(yt_dlp.YoutubeDL):
raise ExtractorError(message)
def process_info(self, info_dict):
- self.processed_info_dicts.append(info_dict)
+ self.processed_info_dicts.append(info_dict.copy())
return super(YoutubeDL, self).process_info(info_dict)