A feature-rich command-line audio/video downloader
[test/test_socks] Use a different port range
Yen Chi Hsuanc2876afafef3
diff --git a/test/test_socks.py b/test/test_socks.pyindex dc9b8d276f..d07003cebe 100644--- 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)