Merge branch 'master' of https://github.com/rg3/youtube-dl
[youtube-dl] / test / test_youtube_lists.py
index e352e5ab9ef6277f4b22bb34e0d8c0c66a65f5ea..3044e0852ab52cdaf5dc9c46177c7916dbf2e03e 100644 (file)
@@ -2,7 +2,6 @@
 
 import sys
 import unittest
-import socket
 import json
 
 # Allow direct execution
@@ -22,7 +21,6 @@ cookie_processor = compat_urllib_request.HTTPCookieProcessor(jar)
 proxy_handler = compat_urllib_request.ProxyHandler()
 opener = compat_urllib_request.build_opener(proxy_handler, cookie_processor, YoutubeDLHandler())
 compat_urllib_request.install_opener(opener)
-socket.setdefaulttimeout(300) # 5 minutes should be enough (famous last words)
 
 class FakeDownloader(object):
     def __init__(self):