Skip to content

Commit

Permalink
remove redundant list conversion
Browse files Browse the repository at this point in the history
Signed-off-by: Merel Theisen <[email protected]>
  • Loading branch information
merelcht committed Jan 15, 2025
1 parent 9e57c79 commit 5e817e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/runner/test_thread_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def test_stricter_suggest_resume_scenario(
"""
test_pipeline = two_branches_crossed_pipeline_variable_inputs

nodes = {n.name: n for n in list(test_pipeline.nodes)}
nodes = {n.name: n for n in test_pipeline.nodes}
for name in failing_node_names:
test_pipeline -= modular_pipeline([nodes[name]])
test_pipeline += modular_pipeline([nodes[name]._copy(func=exception_fn)])
Expand Down

0 comments on commit 5e817e7

Please sign in to comment.