Skip to content

Commit 93d5660

Browse files
committed
fix test
1 parent aed8ce6 commit 93d5660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ def test_load_dataset_then_move_then_reload(dataset_loading_script_dir, data_dir
895895
os.rename(cache_dir1, cache_dir2)
896896
caplog.clear()
897897
dataset = load_dataset(dataset_loading_script_dir, data_dir=data_dir, split="train", cache_dir=cache_dir2)
898-
assert "Reusing dataset" in caplog.text
898+
assert "Found cached dataset" in caplog.text
899899
assert dataset._fingerprint == fingerprint1, "for the caching mechanism to work, fingerprint should stay the same"
900900
dataset = load_dataset(dataset_loading_script_dir, data_dir=data_dir, split="test", cache_dir=cache_dir2)
901901
assert dataset._fingerprint != fingerprint1

0 commit comments

Comments
 (0)