[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
pull/323/head
pukkandan 4 years ago
parent 4ec82a72bb
commit af32f40bf5
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -29,6 +29,7 @@ class YDL(FakeYDL):
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):

Loading…
Cancel
Save