Skip to content

Commit 5fa8050

Browse files
authored
mark SBU download as not accessible in tests (#7970)
1 parent 4cb3d80 commit 5fa8050

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_datasets_download.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ def url_parametrization(*dataset_urls_and_ids_fns):
368368
kinetics,
369369
kitti,
370370
places365,
371-
sbu,
372371
)
373372
def test_url_is_accessible(url):
374373
"""
@@ -380,6 +379,7 @@ def test_url_is_accessible(url):
380379

381380
@url_parametrization(
382381
stanford_cars, # https://github.com/pytorch/vision/issues/7545
382+
sbu, # https://github.com/pytorch/vision/issues/7964
383383
)
384384
@pytest.mark.xfail
385385
def test_url_is_not_accessible(url):
@@ -391,4 +391,4 @@ def test_url_is_not_accessible(url):
391391
If you see this test failing, find the offending dataset in the parametrization and move it to
392392
``test_url_is_accessible``.
393393
"""
394-
retry(lambda: assert_url_is_accessible(url))
394+
assert_url_is_accessible(url)

0 commit comments

Comments
 (0)