From da38d6c87040b1c27e1f073c296b12568dbe0ddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Crist=C3=B3bal=20Arroyo?= <69475004+Crola1702@users.noreply.github.com> Date: Wed, 4 Jan 2023 11:25:32 -0500 Subject: [PATCH] Fix test_publisher linter for pydocstyle 6.2.2 (#1063) Signed-off-by: Crola1702 (cherry picked from commit fb1058935f25f20a5ba9552994b9b63a3edd36f9) --- rclpy/test/test_publisher.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/rclpy/test/test_publisher.py b/rclpy/test/test_publisher.py index 7529a4365..90f4a4801 100644 --- a/rclpy/test/test_publisher.py +++ b/rclpy/test/test_publisher.py @@ -61,14 +61,11 @@ def do_test_topic_name(cls, test_topics, node): The node will create publishers with topic in test_topics, and then test if the publisher's topic_name property is equal to the expected value. - Args: - ---- - test_topics: A list of binary tuple in the form (topic, expected topic), the + :param test_topics: A list of binary tuple in the form (topic, expected topic), the former will be passed to node.create_publisher and the latter will be compared with publisher.topic_name - node: The node used to create the publisher. The node's namespace will have + :param node: The node used to create the publisher. The node's namespace will have an effect on the publisher's topic_name. - """ for topic, target_topic in test_topics: publisher = node.create_publisher(BasicTypes, topic, 0)