From 713219f0d4b50e4c2b1e188c14eb697d0f708736 Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Mon, 18 Sep 2023 11:17:39 +0200 Subject: [PATCH] mark SBU download as not accessible in tests --- test/test_datasets_download.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_datasets_download.py b/test/test_datasets_download.py index e99017d8b55..da091fe0007 100644 --- a/test/test_datasets_download.py +++ b/test/test_datasets_download.py @@ -368,7 +368,6 @@ def url_parametrization(*dataset_urls_and_ids_fns): kinetics, kitti, places365, - sbu, ) def test_url_is_accessible(url): """ @@ -380,6 +379,7 @@ def test_url_is_accessible(url): @url_parametrization( stanford_cars, # https://github.com/pytorch/vision/issues/7545 + sbu, # https://github.com/pytorch/vision/issues/7964 ) @pytest.mark.xfail def test_url_is_not_accessible(url): @@ -391,4 +391,4 @@ def test_url_is_not_accessible(url): If you see this test failing, find the offending dataset in the parametrization and move it to ``test_url_is_accessible``. """ - retry(lambda: assert_url_is_accessible(url)) + assert_url_is_accessible(url)