1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-01 06:13:35 +08:00

Revert "[commonmistakes] Disable UnicodeBOM extractor test for python 3.2"

This reverts commit 2cc7fcd338.
This commit is contained in:
Yen Chi Hsuan
2018-01-23 22:07:44 +08:00
Unverified
parent e672f9519b
commit 5857b56d4e
+1 -5
View File
@@ -1,7 +1,5 @@
from __future__ import unicode_literals
import sys
from .common import InfoExtractor
from ..utils import ExtractorError
@@ -35,9 +33,7 @@ class UnicodeBOMIE(InfoExtractor):
IE_DESC = False
_VALID_URL = r'(?P<bom>\ufeff)(?P<id>.*)$'
# Disable test for python 3.2 since BOM is broken in re in this version
# (see https://github.com/rg3/youtube-dl/issues/9751)
_TESTS = [] if (3, 0) < sys.version_info <= (3, 3) else [{
_TESTS = [{
'url': '\ufeffhttp://www.youtube.com/watch?v=BaW_jenozKc',
'only_matching': True,
}]