Skip to content

Commit 5b94236

Browse files
committed
fix dataset_30.pq location
1 parent a1c75f2 commit 5b94236

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +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-
_c_root_dir / "localhost_8000" / "minio" / "dataset30" /"dataset_30.pq"
248+
_c_root_dir / "minio" / "dataset30" / "dataset_30.pq",
249249

250250
])
251251

tests/files/org/openml/test/localhost_8000/minio/dataset30/dataset_30.pq renamed to tests/files/org/openml/test/minio/dataset30/dataset_30.pq

File renamed without changes.

tests/test_datasets/test_dataset_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def test__download_minio_file_works_with_bucket_subdirectory(self):
377377
@mock.patch.object(MinIOClient, "download_minio_file")
378378
@pytest.mark.test_server()
379379
def test__get_dataset_parquet_is_cached(self, patch):
380-
openml.config.set_root_cache_directory(self.static_cache_dir/'org/openml/test')
380+
openml.config.set_root_cache_directory(self.static_cache_dir)
381381
patch.side_effect = RuntimeError(
382382
"download_parquet_url should not be called when loading from cache",
383383
)

0 commit comments

Comments
 (0)