mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-19 22:48:53 +00:00
Don't load plugins by default
This commit is contained in:
@@ -51,7 +51,7 @@ def run_tests(*tests, pattern=None, ci=False, load_plugins=False):
|
||||
try:
|
||||
return subprocess.call(arguments, env={
|
||||
**os.environ,
|
||||
'YTDLP_NO_PLUGINS': '1' if os.environ.get('YTDLP_NO_PLUGINS') or not load_plugins else '',
|
||||
'_YT_DLP_TEST_DO_LOAD_PLUGINS': '1' if load_plugins else '',
|
||||
})
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user