mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-05 21:42:49 -05:00
[workflows/ci.yml] Fix test support for Py 2.6
This commit is contained in:
@ -6,10 +6,6 @@ import os
|
||||
from os.path import dirname as dirn
|
||||
import sys
|
||||
|
||||
from youtube_dl.compat import compat_register_utf8
|
||||
|
||||
compat_register_utf8()
|
||||
|
||||
print('WARNING: Lazy loading extractors is an experimental feature that may not always work', file=sys.stderr)
|
||||
|
||||
sys.path.insert(0, dirn(dirn((os.path.abspath(__file__)))))
|
||||
@ -23,6 +19,10 @@ try:
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
from youtube_dl.compat import compat_register_utf8
|
||||
|
||||
compat_register_utf8()
|
||||
|
||||
from youtube_dl.extractor import _ALL_CLASSES
|
||||
from youtube_dl.extractor.common import InfoExtractor, SearchInfoExtractor
|
||||
|
||||
|
Reference in New Issue
Block a user