From 7316fc57032e17b7624ea30cb2acb5965adb6e8f Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Fri, 14 Jun 2024 12:50:24 -0700 Subject: [PATCH] Missed one linting item --- test/test_YoutubeDL.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py index 71e51b23c..6579a9c46 100644 --- a/test/test_YoutubeDL.py +++ b/test/test_YoutubeDL.py @@ -883,11 +883,11 @@ def run(self, info): f.write('EXAMPLE') return [info['filepath']], info - def run_pp(params, PP): + def run_pp(params, pp): with open(video_file, 'w') as f: f.write('EXAMPLE') ydl = YoutubeDL(params) - ydl.add_post_processor(PP()) + ydl.add_post_processor(pp()) ydl.post_process(video_file, {'filepath': video_file}) run_pp({'keepvideo': True, 'outtmpl': filename}, SimplePP)