From 73064336cdee3ca7ed0a36f4d30ca29f1184bc1b Mon Sep 17 00:00:00 2001 From: Wenqi Li Date: Fri, 13 Oct 2023 12:10:29 +0100 Subject: [PATCH] skip cpu-only test Signed-off-by: Wenqi Li --- tests/test_bundle_download.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_bundle_download.py b/tests/test_bundle_download.py index 89dea8e653..a468d53108 100644 --- a/tests/test_bundle_download.py +++ b/tests/test_bundle_download.py @@ -28,6 +28,7 @@ assert_allclose, command_line_tests, skip_if_downloading_fails, + skip_if_no_cuda, skip_if_quick, ) @@ -156,6 +157,7 @@ def test_monaihosting_source_download_bundle(self, bundle_files, bundle_name, ve self.assertTrue(os.path.exists(file_path)) +@skip_if_no_cuda class TestLoad(unittest.TestCase): @parameterized.expand([TEST_CASE_4]) @skip_if_quick