Skip to content

Commit

Permalink
fix(test): fallback to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 21, 2024
1 parent 8d78256 commit f70d500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niworkflows/interfaces/tests/test_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ def test_ReadSidecarJSON_connection(testdata_dir, field):
('derivatives', 'subjects_dir'),
[
(os.getenv('FREESURFER_HOME'), 'subjects'),
('/tmp', os.path.join(os.getenv('FREESURFER_HOME'), 'subjects')), # noqa: S108
('/tmp', os.path.join(os.getenv('FREESURFER_HOME', ''), 'subjects')), # noqa: S108
],
)
def test_fsdir_noaction(derivatives, subjects_dir):
Expand Down

0 comments on commit f70d500

Please sign in to comment.