From 6d7ca4890fb1251dd34c8800258246bfbb83ccbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 19 Jun 2025 11:39:18 +0200 Subject: [PATCH] [tests] add missing '\n' to stdout.write() output --- test/test_extractor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_extractor.py b/test/test_extractor.py index df329b3a..4f44188b 100644 --- a/test/test_extractor.py +++ b/test/test_extractor.py @@ -122,8 +122,8 @@ class TestExtractorModule(unittest.TestCase): extr = cls.from_url(url) except ImportError as exc: if exc.name in ("youtube_dl", "yt_dlp"): - sys.stdout.write(f"Skipping '{cls.category}' category checks") - return + return sys.stdout.write( + f"Skipping '{cls.category}' category checks\n") raise self.assertTrue(extr, url)