We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 840861f commit 6f08469Copy full SHA for 6f08469
1 file changed
tests/test_utils.py
@@ -180,12 +180,12 @@ def skip_if_downloading_fails():
180
err_str = str(rt_e)
181
if any(k in err_str for k in DOWNLOAD_FAIL_MSGS):
182
raise unittest.SkipTest(f"Error while downloading: {rt_e}") from rt_e # incomplete download
183
+
184
+ raise rt_e
185
except ValueError as v_e:
186
if "hash check" in str(v_e):
187
raise unittest.SkipTest(f"Hash value error while downloading: {v_e}") from v_e
188
- raise rt_e
-
189
190
SAMPLE_TIFF = "https://huggingface.co/datasets/MONAI/testing_data/resolve/main/CMU-1.tiff"
191
SAMPLE_TIFF_HASH = "73a7e89bc15576587c3d68e55d9bf92f09690280166240b48ff4b48230b13bcd"
0 commit comments