File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
nipype/interfaces/base/tests Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 1212from .... import config
1313from ....testing import example_data
1414from ... import base as nib
15+ from ..support import _inputs_help
1516
1617standard_library .install_aliases ()
1718
@@ -42,14 +43,6 @@ def test_Interface():
4243 assert nib .Interface .output_spec is None
4344 with pytest .raises (NotImplementedError ):
4445 nib .Interface ()
45- with pytest .raises (NotImplementedError ):
46- nib .Interface .help ()
47- with pytest .raises (NotImplementedError ):
48- nib .Interface ._inputs_help ()
49- with pytest .raises (NotImplementedError ):
50- nib .Interface ._outputs_help ()
51- with pytest .raises (NotImplementedError ):
52- nib .Interface ._outputs ()
5346
5447 class DerivedInterface (nib .Interface ):
5548 def __init__ (self ):
@@ -88,7 +81,7 @@ class DerivedInterface(nib.BaseInterface):
8881 resource_monitor = False
8982
9083 assert DerivedInterface .help () is None
91- assert 'moo' in '' .join (DerivedInterface . _inputs_help ())
84+ assert 'moo' in '' .join (_inputs_help (DerivedInterface ))
9285 assert DerivedInterface ()._outputs () is None
9386 assert DerivedInterface ._get_filecopy_info ()[0 ]['key' ] == 'woo'
9487 assert DerivedInterface ._get_filecopy_info ()[0 ]['copy' ]
You can’t perform that action at this time.
0 commit comments