From 4420ae76c9909043fb3c4ddf2fa980a352ef9d4b Mon Sep 17 00:00:00 2001 From: madrigal Date: Wed, 22 Oct 2025 11:01:39 -0400 Subject: [PATCH] Fixed test_sigmf_2 --- tests/io/test_recording_io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)