aboutsummaryrefslogtreecommitdiff
path: root/test/test_execution.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_execution.py')
-rw-r--r--test/test_execution.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_execution.py b/test/test_execution.py
index 7a9e800b6..fb2f6e2e9 100644
--- a/test/test_execution.py
+++ b/test/test_execution.py
@@ -45,6 +45,9 @@ class TestExecution(unittest.TestCase):
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)