Skip to content

Commit

Permalink
update test too
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Apr 21, 2024
1 parent 369905f commit e122f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_load_from_save_to_disk(self):
"""Usual use case. Verify datasets saved via `save_to_disk` can be loaded."""
with tempfile.TemporaryDirectory() as tmp_dir:
tmp_ds_name = Path(tmp_dir) / "tmp_dataset"
self.dataset.save_to_disk(tmp_ds_name)
self.dataset.save_to_disk(str(tmp_ds_name))

prepared_path = Path(tmp_dir) / "prepared"
cfg = DictDefault(
Expand Down

0 comments on commit e122f4d

Please sign in to comment.