11from copy import deepcopy
22
33import bids
4- import pytest
54from niworkflows .utils .testing import generate_bids_skeleton
65from sdcflows .fieldmaps import clear_registry
76from sdcflows .utils .wrangler import find_estimators
@@ -64,7 +63,7 @@ def test_get_estimator_b0field_and_intendedfor(tmp_path):
6463
6564 generate_bids_skeleton (bids_dir , spec )
6665 layout = bids .BIDSLayout (bids_dir )
67- estimators = find_estimators (layout = layout , subject = '01' )
66+ _ = find_estimators (layout = layout , subject = '01' )
6867
6968 bold_files = sorted (layout .get (suffix = 'bold' , extension = '.nii.gz' , return_type = 'file' ))
7069
@@ -91,7 +90,7 @@ def test_get_estimator_overlapping_specs(tmp_path):
9190
9291 generate_bids_skeleton (bids_dir , spec )
9392 layout = bids .BIDSLayout (bids_dir )
94- estimators = find_estimators (layout = layout , subject = '01' )
93+ _ = find_estimators (layout = layout , subject = '01' )
9594
9695 bold_files = sorted (layout .get (suffix = 'bold' , extension = '.nii.gz' , return_type = 'file' ))
9796
@@ -115,7 +114,7 @@ def test_get_estimator_multiple_b0fields(tmp_path):
115114
116115 generate_bids_skeleton (bids_dir , spec )
117116 layout = bids .BIDSLayout (bids_dir )
118- estimators = find_estimators (layout = layout , subject = '01' )
117+ _ = find_estimators (layout = layout , subject = '01' )
119118
120119 bold_files = sorted (layout .get (suffix = 'bold' , extension = '.nii.gz' , return_type = 'file' ))
121120
0 commit comments