diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-28 10:40:54 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-29 06:43:27 +0530 |
commit | ae61d108dd83a951b6e8a27e1fb969682416150d (patch) | |
tree | 71cdc169890133e0097f2d28f452329315633e4b /test/test_download.py | |
parent | 47046464faaa3c72465f52c3c6a6191fbfd6b32c (diff) |
[cleanup] Misc cleanup
Diffstat (limited to 'test/test_download.py')
-rwxr-xr-x | test/test_download.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_download.py b/test/test_download.py index b397b3ecf..c9f5e735c 100755 --- a/test/test_download.py +++ b/test/test_download.py @@ -273,7 +273,11 @@ def batch_generator(name, num_tests): def test_template(self): for i in range(num_tests): - getattr(self, f'test_{name}_{i}' if i else f'test_{name}')() + test_name = f'test_{name}_{i}' if i else f'test_{name}' + try: + getattr(self, test_name)() + except unittest.SkipTest: + print(f'Skipped {test_name}') return test_template |