Skip to content

Commit a680ebe

Browse files
committed
Simplify path to static cache directory
1 parent 319cb35 commit a680ebe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_datasets/test_dataset_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def test_deletion_of_cache_dir_faulty_download(self, patch):
532532

533533
@pytest.mark.uses_test_server()
534534
def test_publish_dataset(self):
535-
arff_file_path = Path(__file__).parent.parent / "files" / "org" / "openml" / "test" / "datasets" / "2" / "dataset.arff"
535+
arff_file_path = self.static_cache_dir / "org" / "openml" / "test" / "datasets" / "2" / "dataset.arff"
536536
dataset = OpenMLDataset(
537537
"anneal",
538538
"test",

0 commit comments

Comments
 (0)