Skip to content

Commit 84bcae4

Browse files
effigiesoesteban
authored andcommitted
TEST: Add skip reason
1 parent 28c48ca commit 84bcae4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fmriprep/workflows/bold/tests/test_util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ def symmetric_overlap(img1, img2):
1919

2020

2121
@pytest.mark.skipif(not os.getenv('FMRIPREP_REGRESSION_SOURCE') or
22-
not os.getenv('FMRIPREP_REGRESSION_TARGETS'))
22+
not os.getenv('FMRIPREP_REGRESSION_TARGETS'),
23+
reason='FMRIPREP_REGRESSION_{SOURCE,TARGETS} env vars not set')
2324
@pytest.mark.parametrize('input_fname,expected_fname', [
2425
(os.path.join(os.getenv('FMRIPREP_REGRESSION_SOURCE', ''),
2526
base_fname),

0 commit comments

Comments
 (0)