Skip to content

Commit 7658c01

Browse files
committed
Add test docstring
1 parent 4017524 commit 7658c01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mne_bids/tests/test_path.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,6 +1651,8 @@ def test_dont_create_dirs_on_fpath_access(tmp_path):
16511651

16521652

16531653
def test_fpath_common_prefix(tmp_path):
1654+
"""Tests that fpath does not match multiple files with the same prefix.
1655+
This might happen if indices are not zero-paddded."""
16541656
sub_dir = tmp_path / "sub-1" / "eeg"
16551657
sub_dir.mkdir(exist_ok=True, parents=True)
16561658
(sub_dir / "sub-1_run-1_raw.fif").touch()

0 commit comments

Comments
 (0)