From 529915a3657b6f433346250b15b5e26025a0d6c9 Mon Sep 17 00:00:00 2001 From: Tom Close Date: Tue, 20 Feb 2024 13:44:34 +1100 Subject: [PATCH] removed now duplicate task --- pydra/engine/tests/test_node_task.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/pydra/engine/tests/test_node_task.py b/pydra/engine/tests/test_node_task.py index 4e182781b0..37ed90d037 100644 --- a/pydra/engine/tests/test_node_task.py +++ b/pydra/engine/tests/test_node_task.py @@ -133,21 +133,7 @@ def test_task_init_3a( def test_task_init_4(): - """task with interface and inputs. splitter set using split method""" - nn = fun_addtwo(name="NA") - nn.split(splitter="a", a=[3, 5]) - assert np.allclose(nn.inputs.a, [3, 5]) - - assert nn.state.splitter == "NA.a" - assert nn.state.splitter_rpn == ["NA.a"] - - nn.state.prepare_states(nn.inputs) - assert nn.state.states_ind == [{"NA.a": 0}, {"NA.a": 1}] - assert nn.state.states_val == [{"NA.a": 3}, {"NA.a": 5}] - - -def test_task_init_4a(): - """task with a splitter and inputs set in the split method""" + """task with interface splitter and inputs set in the split method""" nn = fun_addtwo(name="NA") nn.split(splitter="a", a=[3, 5]) assert np.allclose(nn.inputs.a, [3, 5])