Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
5fa8050d
"vscode:/vscode.git/clone" did not exist on "2daedc0ad3c868931689b2cbbe6b0243a2f3166b"
Unverified
Commit
5fa8050d
authored
Sep 18, 2023
by
Philip Meier
Committed by
GitHub
Sep 18, 2023
Browse files
mark SBU download as not accessible in tests (#7970)
parent
4cb3d802
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/test_datasets_download.py
test/test_datasets_download.py
+2
-2
No files found.
test/test_datasets_download.py
View file @
5fa8050d
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment