Skip to content

Commit b83a0e8

Browse files
committed
make tab_comletion test function a normal function
1 parent e494b6b commit b83a0e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nipype/interfaces/base/tests/test_specs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ def test_TraitedSpec_dynamic():
8282

8383

8484
def test_DynamicTraitedSpec_tab_completion():
85-
extract_func = lambda list_out: list_out[0]
85+
def extract_func(list_out):
86+
return list_out[0]
8687

8788
# Define interface
8889
func_interface = Function(input_names=["list_out"],

0 commit comments

Comments
 (0)