Преглед изворни кода

[test_download] Fix import

Philipp Hagemeister пре 10 година
родитељ
комит
42f7d2f588
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      test/test_download.py

+ 3 - 1
test/test_download.py

@@ -23,10 +23,12 @@ import json
 import socket
 
 import youtube_dl.YoutubeDL
-from youtube_dl.utils import (
+from youtube_dl.compat import (
     compat_http_client,
     compat_urllib_error,
     compat_HTTPError,
+)
+from youtube_dl.utils import (
     DownloadError,
     ExtractorError,
     format_bytes,