From ac8c7fa1897c4eb132451b45f41ce2cc8e6968c5 Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Thu, 1 Feb 2024 22:59:51 +0900 Subject: [PATCH] Fix error message in test_download_large_file_from_gdrive --- tests/test___main__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test___main__.py b/tests/test___main__.py index 403aee7c..b94fc43b 100644 --- a/tests/test___main__.py +++ b/tests/test___main__.py @@ -58,9 +58,8 @@ def test_download_large_file_from_gdrive(): print(e, file=sys.stderr) continue else: - raise AssertionError( - f"Failed to download any of the files: {zip(*file_id_and_md5s)[0]}" - ) + file_ids, _ = zip(*file_id_and_md5s) + raise AssertionError(f"Failed to download any of the files: {file_ids}") def test_download_and_extract():