[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
This commit is contained in:
pukkandan 2021-05-18 23:55:32 +05:30
parent 4ec82a72bb
commit af32f40bf5
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -29,6 +29,7 @@ def __init__(self, *args, **kwargs):
self.msgs = [] self.msgs = []
def process_info(self, info_dict): def process_info(self, info_dict):
info_dict.pop('__original_infodict', None)
self.downloaded_info_dicts.append(info_dict) self.downloaded_info_dicts.append(info_dict)
def to_screen(self, msg): def to_screen(self, msg):