summaryrefslogtreecommitdiffhomepage
path: root/test/test_youtube_lists.py
diff options
context:
space:
mode:
authorFilippo Valsorda <[email protected]>2012-12-20 16:30:55 +0100
committerFilippo Valsorda <[email protected]>2012-12-20 16:30:55 +0100
commit6b3aef80ceba9b4715065be924dcb1f83ec36655 (patch)
tree37f54709feb3ee463384643a8f6fba6996300ab5 /test/test_youtube_lists.py
parent77c4beab8a0c13e158bad8af4e014d57766f1940 (diff)
downloadyoutube-dl-6b3aef80ceba9b4715065be924dcb1f83ec36655.tar.gz
youtube-dl-6b3aef80ceba9b4715065be924dcb1f83ec36655.zip
better Vimeo tests; fixed a couple of VimeoIE fields
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):