From e92eb6751f9e9d6eb1902830b143f073e583a020 Mon Sep 17 00:00:00 2001 From: Pintaudi Giorgio Date: Thu, 1 Aug 2024 11:15:35 +0900 Subject: [PATCH] Fixed flake8 errors Signed-off-by: Pintaudi Giorgio --- .../test/examples/wait_for_topic_inject_callback_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launch_testing_ros/test/examples/wait_for_topic_inject_callback_test.py b/launch_testing_ros/test/examples/wait_for_topic_inject_callback_test.py index 1d279a03..08006b88 100644 --- a/launch_testing_ros/test/examples/wait_for_topic_inject_callback_test.py +++ b/launch_testing_ros/test/examples/wait_for_topic_inject_callback_test.py @@ -22,8 +22,8 @@ import launch_testing.actions import launch_testing.markers from launch_testing_ros import WaitForTopics -import rclpy import pytest +import rclpy from std_msgs.msg import String @@ -43,7 +43,7 @@ def trigger_callback(): node = rclpy.create_node('trigger') publisher = node.create_publisher(String, 'input', 10) while publisher.get_subscription_count() == 0: - rclpy.spin_once(node, timeout_sec=0.1) + rclpy.spin_once(node, timeout_sec=0.1) msg = String() msg.data = 'Hello World' publisher.publish(msg)