diff --git a/test/test_datasets.py b/test/test_datasets.py index f37cf291829..7e91571744a 100644 --- a/test/test_datasets.py +++ b/test/test_datasets.py @@ -1869,11 +1869,6 @@ def test_class_to_idx(self): with self.create_dataset() as (dataset, _): assert dataset.class_to_idx == class_to_idx - def test_images_download_preexisting(self): - with pytest.raises(RuntimeError): - with self.create_dataset({"download": True}): - pass - class INaturalistTestCase(datasets_utils.ImageDatasetTestCase): DATASET_CLASS = datasets.INaturalist