Skip to content

Commit

Permalink
[test:download] Raise on network errors (yt-dlp#10283)
Browse files Browse the repository at this point in the history
Authored by: bashonly, seproDev
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
  • Loading branch information
bashonly authored Jun 28, 2024
1 parent 7a03f88 commit 54a63e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
gettestcases,
getwebpagetestcases,
is_download_test,
report_warning,
try_rm,
)

Expand Down Expand Up @@ -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')

Expand Down

0 comments on commit 54a63e8

Please sign in to comment.