Merge remote-tracking branch 'rzhxeo/crunchyroll'
[youtube-dl] / test / test_youtube_signature.py
index 5007d9a16305f055d38231cf2626dedcbd0c70ee..056700614b43fa0a3dbceeb82ef991e34fdb53f9 100644 (file)
@@ -1,14 +1,15 @@
 #!/usr/bin/env python
 
-import io
-import re
-import string
+# Allow direct execution
+import os
 import sys
 import unittest
+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 
-# Allow direct execution
-import os
-sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+
+import io
+import re
+import string
 
 from youtube_dl.extractor import YoutubeIE
 from youtube_dl.utils import compat_str, compat_urlretrieve