youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit c2876afafef392220cdb2baebace1d6d533f8d63
parent 6ddb4888d2610df3bbb5024440caddde50fe9ad8
Author: Yen Chi Hsuan <yan12125@gmail.com>
Date:   Sun,  8 May 2016 15:16:32 +0800

[test/test_socks] Use a different port range

Seems on Travis CI, ports in the original range are often used.

Diffstat:
Mtest/test_socks.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_socks.py b/test/test_socks.py @@ -78,7 +78,7 @@ class TestMultipleSocks(unittest.TestCase): class TestSocks(unittest.TestCase): def setUp(self): - self.port = random.randint(49152, 65535) + self.port = random.randint(20000, 30000) self.server_process = subprocess.Popen([ 'srelay', '-f', '-i', '127.0.0.1:%d' % self.port], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)