Fixed test_sigmf_2
All checks were successful
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 13s
Test with tox / Test with tox (3.11) (pull_request) Successful in 32s
Test with tox / Test with tox (3.12) (pull_request) Successful in 30s
Test with tox / Test with tox (3.10) (pull_request) Successful in 42s
Build Project / Build Project (3.10) (pull_request) Successful in 48s
Build Project / Build Project (3.11) (pull_request) Successful in 48s
Build Project / Build Project (3.12) (pull_request) Successful in 48s
All checks were successful
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 13s
Test with tox / Test with tox (3.11) (pull_request) Successful in 32s
Test with tox / Test with tox (3.12) (pull_request) Successful in 30s
Test with tox / Test with tox (3.10) (pull_request) Successful in 42s
Build Project / Build Project (3.10) (pull_request) Successful in 48s
Build Project / Build Project (3.11) (pull_request) Successful in 48s
Build Project / Build Project (3.12) (pull_request) Successful in 48s
This commit is contained in:
parent
ddf445fd4d
commit
4420ae76c9
|
|
@ -163,11 +163,11 @@ def test_sigmf_2(tmp_path):
|
||||||
|
|
||||||
annotations = [annotation1, annotation2]
|
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
|
# Save to tmp_path using the base name
|
||||||
filename = tmp_path / "test"
|
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
|
# Load from tmp_path; from_sigmf expects the base name
|
||||||
recording2 = from_sigmf(filename)
|
recording2 = from_sigmf(filename)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user