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
b4cb352c
Unverified
Commit
b4cb352c
authored
Mar 07, 2022
by
Philip Meier
Committed by
GitHub
Mar 07, 2022
Browse files
fail test suite on unexpected passes (#5556)
parent
50608fbc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
16 deletions
+3
-16
pytest.ini
pytest.ini
+1
-0
test/test_prototype_builtin_datasets.py
test/test_prototype_builtin_datasets.py
+2
-16
No files found.
pytest.ini
View file @
b4cb352c
...
...
@@ -10,3 +10,4 @@ addopts =
--ignore-glob
=
test/test_prototype_*.py
testpaths
=
test
xfail_strict
=
True
test/test_prototype_builtin_datasets.py
View file @
b4cb352c
...
...
@@ -107,14 +107,7 @@ class TestCommon:
next
(
iter
(
dataset
.
map
(
transforms
.
Identity
())))
@
parametrize_dataset_mocks
(
DATASET_MOCKS
,
marks
=
{
"cub200"
:
pytest
.
mark
.
xfail
(
reason
=
"See https://github.com/pytorch/vision/pull/5187#issuecomment-1015479165"
)
},
)
@
parametrize_dataset_mocks
(
DATASET_MOCKS
)
def
test_traversable
(
self
,
test_home
,
dataset_mock
,
config
):
dataset_mock
.
prepare
(
test_home
,
config
)
...
...
@@ -122,14 +115,7 @@ class TestCommon:
traverse
(
dataset
)
@
parametrize_dataset_mocks
(
DATASET_MOCKS
,
marks
=
{
"cub200"
:
pytest
.
mark
.
xfail
(
reason
=
"See https://github.com/pytorch/vision/pull/5187#issuecomment-1015479165"
)
},
)
@
parametrize_dataset_mocks
(
DATASET_MOCKS
)
@
pytest
.
mark
.
parametrize
(
"annotation_dp_type"
,
(
Shuffler
,
ShardingFilter
))
def
test_has_annotations
(
self
,
test_home
,
dataset_mock
,
config
,
annotation_dp_type
):
def
scan
(
graph
):
...
...
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