A feature-rich command-line audio/video downloader
retry on UnavailableVideoError
Filippo Valsorda90a99c1b5e01
diff --git a/test/test_download.py b/test/test_download.pyindex e29092c456..59a6e1498f 100644--- a/test/test_download.py+++ b/test/test_download.py@@ -102,7 +102,7 @@ def generator(test_case):if retry == RETRIES: raise# Check if the exception is not a network related one- if not err.exc_info[0] in (ZeroDivisionError, compat_urllib_error.URLError, socket.timeout):+ if not err.exc_info[0] in (compat_urllib_error.URLError, socket.timeout, UnavailableVideoError):raiseprint('Retrying: {0} failed tries\n\n##########\n\n'.format(retry))