diff --git a/test_launch_ros/test/test_launch_ros/actions/test_node.py b/test_launch_ros/test/test_launch_ros/actions/test_node.py index 9351d731..a370b84a 100644 --- a/test_launch_ros/test/test_launch_ros/actions/test_node.py +++ b/test_launch_ros/test/test_launch_ros/actions/test_node.py @@ -183,7 +183,7 @@ def test_launch_node_with_parameter_descriptions(self): for item, is_file in expanded_parameter_arguments: assert not is_file name, value = item.split(':=') - parameters.append((name, yaml.load(value))) + parameters.append((name, yaml.safe_load(value))) assert parameters == [ ('param1', 'param1_value'), ('param2', ['param2', '_value']),