Skip to content

Commit b499d7c

Browse files
committed
remove logger
1 parent 28c9946 commit b499d7c

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

tests/test_datasets/test_dataset_functions.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,15 +1869,8 @@ def _dataset_features_is_downloaded(did: int):
18691869

18701870

18711871
def _dataset_data_file_is_downloaded(did: int):
1872+
#TODO to be updated after minio paths is fixed
18721873
cache_directory = Path(openml.config.get_cache_directory()) / "minio/datasets/0000/0001"
1873-
directory = Path(directory)
1874-
if not directory.exists():
1875-
TestBase.logger.info(f"Directory does not exist: {directory}")
1876-
return
1877-
TestBase.logger.info(f"All files under {directory}:")
1878-
for path in directory.rglob("*"):
1879-
if path.is_file():
1880-
TestBase.logger.info(f" - {path}")
18811874
if not cache_directory.exists():
18821875
return False
18831876
return any(f.suffix in (".pq", ".arff") for f in cache_directory.iterdir())

0 commit comments

Comments
 (0)