Skip to content

Commit

Permalink
Fix test_publisher linter for pydocstyle 6.2.2 (#1063)
Browse files Browse the repository at this point in the history
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
(cherry picked from commit fb10589)
  • Loading branch information
Crola1702 authored and mergify[bot] committed Jan 9, 2023
1 parent 4e1654e commit da38d6c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions rclpy/test/test_publisher.py
Expand Up @@ -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)
Expand Down

0 comments on commit da38d6c

Please sign in to comment.