Skip to content

Commit f70d500

Browse files
committed
fix(test): fallback to empty string
1 parent 8d78256 commit f70d500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niworkflows/interfaces/tests/test_bids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ def test_ReadSidecarJSON_connection(testdata_dir, field):
710710
('derivatives', 'subjects_dir'),
711711
[
712712
(os.getenv('FREESURFER_HOME'), 'subjects'),
713-
('/tmp', os.path.join(os.getenv('FREESURFER_HOME'), 'subjects')), # noqa: S108
713+
('/tmp', os.path.join(os.getenv('FREESURFER_HOME', ''), 'subjects')), # noqa: S108
714714
],
715715
)
716716
def test_fsdir_noaction(derivatives, subjects_dir):

0 commit comments

Comments
 (0)