Skip to content

Commit

Permalink
mark SBU download as not accessible in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier committed Sep 18, 2023
1 parent 4cb3d80 commit 713219f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_datasets_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,6 @@ def url_parametrization(*dataset_urls_and_ids_fns):
kinetics,
kitti,
places365,
sbu,
)
def test_url_is_accessible(url):
"""
Expand All @@ -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):
Expand All @@ -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)

0 comments on commit 713219f

Please sign in to comment.