diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-05-18 23:55:32 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-05-19 17:00:40 +0530 |
commit | af32f40bf52b09f3a903ef321435288b4d878770 (patch) | |
tree | f4cf25ae2f0460e8c32f2ab76a5a424927aa5b0b | |
parent | 4ec82a72bbf7ff0066edb50dcad20aa77ac2fe09 (diff) | |
download | hypervideo-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
-rw-r--r-- | test/test_YoutubeDL.py | 1 |
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): |