aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_YoutubeDL.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-05-18 23:55:32 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-05-19 17:00:40 +0530
commitaf32f40bf52b09f3a903ef321435288b4d878770 (patch)
treef4cf25ae2f0460e8c32f2ab76a5a424927aa5b0b /test/test_YoutubeDL.py
parent4ec82a72bbf7ff0066edb50dcad20aa77ac2fe09 (diff)
downloadhypervideo-pre-af32f40bf52b09f3a903ef321435288b4d878770.tar.lz
hypervideo-pre-af32f40bf52b09f3a903ef321435288b4d878770.tar.xz
hypervideo-pre-af32f40bf52b09f3a903ef321435288b4d878770.zip
[test] Fix `test_YoutubeDL.TestYoutubeDL`
Test `test_ignoreerrors_for_playlist_with_url_transparent_iterable_entries` was broken due to `__original_infodict` being added to the dict
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r--test/test_YoutubeDL.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index 5454dcf5e..f34d55d82 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -29,6 +29,7 @@ class YDL(FakeYDL):
self.msgs = []
def process_info(self, info_dict):
+ info_dict.pop('__original_infodict', None)
self.downloaded_info_dicts.append(info_dict)
def to_screen(self, msg):