From 060ac76257a8c1f7370a8a571821c1d73377701f Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 23 Jul 2021 20:18:15 +0530 Subject: [test] Use `pytest` instead of `nosetests` (#482) `nosetests` is no longer being maintained : https://github.com/nose-devs/nose/issues/1099 and will stop working in py 3.10 as can be seen in #480 --- test/test_socks.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/test_socks.py') diff --git a/test/test_socks.py b/test/test_socks.py index 76aabb27f..cf1f613ab 100644 --- a/test/test_socks.py +++ b/test/test_socks.py @@ -14,6 +14,7 @@ import subprocess from test.helper import ( FakeYDL, get_params, + is_download_test, ) from yt_dlp.compat import ( compat_str, @@ -21,6 +22,7 @@ from yt_dlp.compat import ( ) +@is_download_test class TestMultipleSocks(unittest.TestCase): @staticmethod def _check_params(attrs): @@ -76,6 +78,7 @@ class TestMultipleSocks(unittest.TestCase): params['secondary_server_ip']) +@is_download_test class TestSocks(unittest.TestCase): _SKIP_SOCKS_TEST = True -- cgit v1.2.3