aboutsummaryrefslogtreecommitdiff
path: root/test/test_youtube_lists.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-12-20 21:28:32 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-12-20 21:28:32 +0100
commita7c0f8602e91cc96962c7eade10860b61afc3728 (patch)
tree01182f741a7b474d91e565e4beb91cc577e726d8 /test/test_youtube_lists.py
parent21a9c6aaac074b3ad85adc55818573e7971f8043 (diff)
parent162e3c52616a72f4ddc11b0e5de0f2425e512896 (diff)
downloadyoutube-dl-a7c0f8602e91cc96962c7eade10860b61afc3728.tar.xz
Merge branch 'master' of github.com:rg3/youtube-dl
Diffstat (limited to 'test/test_youtube_lists.py')
-rw-r--r--test/test_youtube_lists.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py
index e352e5ab9..3044e0852 100644
--- a/test/test_youtube_lists.py
+++ b/test/test_youtube_lists.py
@@ -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):