From 7a74994a02202698c21e53f2d58a0a3f0bd4ea6c Mon Sep 17 00:00:00 2001 From: bashonly Date: Thu, 29 May 2025 13:49:24 -0500 Subject: [PATCH] use `subprocess.check_call` Authored by: bashonly --- test/test_postprocessors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_postprocessors.py b/test/test_postprocessors.py index 26da1143b8..ecc73e39eb 100644 --- a/test/test_postprocessors.py +++ b/test/test_postprocessors.py @@ -52,7 +52,7 @@ class TestConvertThumbnail(unittest.TestCase): test_data_dir = 'test/testdata/thumbnails' generated_file = f'{test_data_dir}/empty.webp' - subprocess.run([ + subprocess.check_call([ pp.executable, '-y', '-f', 'lavfi', '-i', 'color=c=black:s=320x320', '-c:v', 'libwebp', '-pix_fmt', 'yuv420p', '-vframes', '1', generated_file, ], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)