Skip to content

Commit 1f9b61f

Browse files
Fix test issue due to file deletion.
1 parent 7fd70e9 commit 1f9b61f

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

pylossless/tests/test_bids.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +0,0 @@
1-
import pytest
2-
import shutil
3-
4-
5-
@pytest.mark.filterwarnings("ignore:Converting data files to EDF format")
6-
def test_convert_dataset_to_bids(bids_dataset_fixture):
7-
"""Test the conversion of a recording to a BIDS dataset."""
8-
shutil.rmtree(bids_dataset_fixture.root)

pylossless/tests/test_pipeline.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ def test_pipeline_save(bids_dataset_fixture):
4242
pipeline.save(overwrite=False, format="EDF")
4343
pipeline.save(overwrite=True, format="EDF")
4444

45-
shutil.rmtree(bids_dataset_fixture.root)
45+
# Files are created in a tmp folder so no need
46+
# to clean up...
47+
# shutil.rmtree(bids_dataset_fixture.root)
4648

4749

4850
@pytest.mark.parametrize("logging", [True, False])

0 commit comments

Comments
 (0)