diff --git a/tests/io/test_recording_io.py b/tests/io/test_recording_io.py index 73b59a1..bff08e1 100644 --- a/tests/io/test_recording_io.py +++ b/tests/io/test_recording_io.py @@ -163,11 +163,11 @@ def test_sigmf_2(tmp_path): annotations = [annotation1, annotation2] - recording1 = Recording(data=complex_data_1, metadata=sample_metadata, annotations=annotations, overwrite=True) + recording1 = Recording(data=complex_data_1, metadata=sample_metadata, annotations=annotations) # Save to tmp_path using the base name filename = tmp_path / "test" - to_sigmf(recording=recording1, path=tmp_path, filename=filename.name) + to_sigmf(recording=recording1, path=tmp_path, filename=filename.name, overwrite=True) # Load from tmp_path; from_sigmf expects the base name recording2 = from_sigmf(filename)