mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-26 21:59:08 +01:00
fix test import order
This commit is contained in:
parent
0210836dda
commit
fd236737b0
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,6 @@ import shutil
|
||||||
import sys
|
import sys
|
||||||
import unittest
|
import unittest
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from yt_dlp.utils import YoutubeDLError
|
|
||||||
|
|
||||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
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')
|
TEST_DATA_DIR = Path(os.path.dirname(os.path.abspath(__file__)), 'testdata')
|
||||||
|
@ -35,6 +34,8 @@ from yt_dlp._globals import (
|
||||||
plugins_enabled,
|
plugins_enabled,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from yt_dlp.utils import YoutubeDLError
|
||||||
|
|
||||||
|
|
||||||
EXTRACTOR_PLUGIN_SPEC = PluginSpec(
|
EXTRACTOR_PLUGIN_SPEC = PluginSpec(
|
||||||
module_name='extractor',
|
module_name='extractor',
|
||||||
|
|
Loading…
Reference in a new issue