Skip to content

Commit a90f284

Browse files
committed
update the parquest file loc
1 parent 8ef80fd commit a90f284

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ def _expected_static_cache_state(root_dir: Path) -> list[Path]:
245245
_c_root_dir / "api" / "v1" / "xml" / "data" / "features" / "2",
246246
_c_root_dir / "api" / "v1" / "xml" / "data" / "features" / "2" / "body.xml",
247247
_c_root_dir / "data" / "download" / "1666876" / "phpFsFYVN" / "body.arff",
248+
root_dir / "localhost_8000" / "minio" / "dataset30" / "dataset_30.pq"
248249

249250
])
250251

tests/test_datasets/test_dataset_functions.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,6 @@ def test__download_minio_file_works_with_bucket_subdirectory(self):
378378
@pytest.mark.test_server()
379379
def test__get_dataset_parquet_is_cached(self, patch):
380380
openml.config.set_root_cache_directory(self.static_cache_dir)
381-
# TODO debug
382-
self.logger.info(self.static_cache_dir)
383-
self.logger.info(openml.config.get_minio_download_path("http://data.openml.org/dataset30/dataset_30.pq"))
384381
patch.side_effect = RuntimeError(
385382
"download_parquet_url should not be called when loading from cache",
386383
)

0 commit comments

Comments
 (0)