diff --git a/niworkflows/interfaces/tests/test_cifti.py b/niworkflows/interfaces/tests/test_cifti.py index 2a18de7cb71..ae4086aaa7e 100644 --- a/niworkflows/interfaces/tests/test_cifti.py +++ b/niworkflows/interfaces/tests/test_cifti.py @@ -79,7 +79,7 @@ def test__create_cifti_image(tmp_path): cifti_file = _create_cifti_image(bold_file, volume_label, dummy_fnames, dummy_fnames, 2.0) cimg = nb.load(cifti_file) - series, bm = [cimg.header.get_axis(i) for i in (0, 1)] + series, bm = (cimg.header.get_axis(i) for i in (0, 1)) assert len(series) == 1 # Time assert len(bm) == 8 # Voxel