]> jfr.im git - yt-dlp.git/blobdiff - test/test_execution.py
[core] Release workflow and Updater cleanup (#8640)
[yt-dlp.git] / test / test_execution.py
index 7a9e800b66eda7f5b1ee9277df0b1e5ec6ce1a54..fb2f6e2e9ce4fc8d508bcb291c01417d2f16b7de 100644 (file)
@@ -45,6 +45,9 @@ def test_lazy_extractors(self):
             self.assertTrue(os.path.exists(LAZY_EXTRACTORS))
 
             _, stderr = self.run_yt_dlp(opts=('-s', 'test:'))
+            # `MIN_RECOMMENDED` emits a deprecated feature warning for deprecated python versions
+            if stderr and stderr.startswith('Deprecated Feature: Support for Python'):
+                stderr = ''
             self.assertFalse(stderr)
 
             subprocess.check_call([sys.executable, 'test/test_all_urls.py'], cwd=rootDir, stdout=subprocess.DEVNULL)