MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / download_url_or_skip_test

Function download_url_or_skip_test

tests/test_utils.py:833–836  ·  view source on GitHub ↗

``download_url`` and skip the tests if any downloading error occurs.

(*args, **kwargs)

Source from the content-addressed store, hash-verified

831
832
833def download_url_or_skip_test(*args, **kwargs):
834 """``download_url`` and skip the tests if any downloading error occurs."""
835 with skip_if_downloading_fails():
836 download_url(*args, **kwargs)
837
838
839def query_memory(n=2):

Callers 13

setUpClassMethod · 0.90
setUpClassMethod · 0.90
setUpModuleFunction · 0.90
setUpMethod · 0.90
setUpModuleFunction · 0.90
setUpModuleFunction · 0.90
setUpClassMethod · 0.90
setUpModuleFunction · 0.90
setUpClassMethod · 0.90
setUpClassMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90

Calls 2

download_urlFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…