]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/commonmistakes.py
[cleanup] Remove unused code paths (#2173)
[yt-dlp.git] / yt_dlp / extractor / commonmistakes.py
index 05126965233f5f5502df095fd1099bf2053db16e..e0a9f5956e33a950b3e7fa29e99edec59eb6e370 100644 (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/ytdl-org/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,
     }]