Skip to content

Commit 66246e1

Browse files
committed
removing try/except from one more test
1 parent 1f61aa2 commit 66246e1

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

nipype/pipeline/engine/tests/test_engine.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -646,14 +646,7 @@ def func1(in1):
646646
assert n1.num_subnodes() == len(n1.inputs.in1)
647647

648648
# test running the workflow on default conditions
649-
error_raised = False
650-
try:
651-
w1.run(plugin='MultiProc')
652-
except Exception as e:
653-
from nipype.pipeline.engine.base import logger
654-
logger.info('Exception: %s' % str(e))
655-
error_raised = True
656-
assert not error_raised
649+
w1.run(plugin='MultiProc')
657650

658651
# test output of num_subnodes method when serial is True
659652
n1._serial = True

0 commit comments

Comments
 (0)