]> jfr.im git - yt-dlp.git/commitdiff
[test:download] Raise on network errors (#10283)
authorbashonly <redacted>
Fri, 28 Jun 2024 00:23:44 +0000 (19:23 -0500)
committerGitHub <redacted>
Fri, 28 Jun 2024 00:23:44 +0000 (00:23 +0000)
Authored by: bashonly, seproDev
Co-authored-by: sepro <redacted>
test/test_download.py

index 882d5456500eec478284bcf26b2b9f2355b01cfa..3f36869d9db72cb9caad120a23c70564db4ce279 100755 (executable)
@@ -20,7 +20,6 @@
     gettestcases,
     getwebpagetestcases,
     is_download_test,
-    report_warning,
     try_rm,
 )
 
@@ -178,8 +177,7 @@ def try_rm_tcs_files(tcs=None):
                         raise
 
                     if try_num == RETRIES:
-                        report_warning(f'{tname} failed due to network errors, skipping...')
-                        return
+                        raise
 
                     print(f'Retrying: {try_num} failed tries\n\n##########\n\n')