Skip to content

Commit eb7e171

Browse files
committed
removed now duplicate task
1 parent f6abd86 commit eb7e171

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

pydra/engine/tests/test_node_task.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -133,21 +133,7 @@ def test_task_init_3a(
133133

134134

135135
def test_task_init_4():
136-
"""task with interface and inputs. splitter set using split method"""
137-
nn = fun_addtwo(name="NA")
138-
nn.split(splitter="a", a=[3, 5])
139-
assert np.allclose(nn.inputs.a, [3, 5])
140-
141-
assert nn.state.splitter == "NA.a"
142-
assert nn.state.splitter_rpn == ["NA.a"]
143-
144-
nn.state.prepare_states(nn.inputs)
145-
assert nn.state.states_ind == [{"NA.a": 0}, {"NA.a": 1}]
146-
assert nn.state.states_val == [{"NA.a": 3}, {"NA.a": 5}]
147-
148-
149-
def test_task_init_4a():
150-
"""task with a splitter and inputs set in the split method"""
136+
"""task with interface splitter and inputs set in the split method"""
151137
nn = fun_addtwo(name="NA")
152138
nn.split(splitter="a", a=[3, 5])
153139
assert np.allclose(nn.inputs.a, [3, 5])

0 commit comments

Comments
 (0)