Skip to content

Commit b8da991

Browse files
committed
Fix Windows errors
1 parent ea50ea4 commit b8da991

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/spikeinterface/core/tests/test_loading.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,14 @@ def generate_motion_object():
8484
@pytest.mark.parametrize("output_format", ["binary", "zarr"])
8585
def test_load_binary_recording(generate_recording_sorting, tmp_path, output_format):
8686
rec, _ = generate_recording_sorting
87-
_ = rec.save(folder=tmp_path / "recording", format=output_format, overwrite=True)
87+
_ = rec.save(folder=tmp_path / "test_recording", format=output_format, overwrite=True)
8888

8989
if output_format == "zarr":
90-
rec_loaded = load(tmp_path / "recording.zarr")
90+
rec_loaded = load(tmp_path / "test_recording.zarr")
9191
else:
92-
rec_loaded = load(tmp_path / "recording")
92+
rec_loaded = load(tmp_path / "test_recording")
9393

9494
check_recordings_equal(rec, rec_loaded)
95-
del rec
9695

9796

9897
@pytest.mark.parametrize("output_format", ["numpy_folder", "zarr"])

0 commit comments

Comments
 (0)