Unverified Commit b4cb352c authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

fail test suite on unexpected passes (#5556)

parent 50608fbc
......@@ -10,3 +10,4 @@ addopts =
--ignore-glob=test/test_prototype_*.py
testpaths =
test
xfail_strict = True
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment