From fd236737b0089e97c6d57777f644552581212797 Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Sun, 8 Dec 2024 13:47:21 +1300 Subject: [PATCH] fix test import order --- test/test_plugins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_plugins.py b/test/test_plugins.py index 7d01cd542c..8190b2ecd3 100644 --- a/test/test_plugins.py +++ b/test/test_plugins.py @@ -4,7 +4,6 @@ import shutil import sys import unittest from pathlib import Path -from yt_dlp.utils import YoutubeDLError sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) TEST_DATA_DIR = Path(os.path.dirname(os.path.abspath(__file__)), 'testdata') @@ -35,6 +34,8 @@ from yt_dlp._globals import ( plugins_enabled, ) +from yt_dlp.utils import YoutubeDLError + EXTRACTOR_PLUGIN_SPEC = PluginSpec( module_name='extractor',