Skip to content

Commit

Permalink
Fix test_publisher linter for pydocstyle 6.2.2 (#1063) (#1068)
Browse files Browse the repository at this point in the history
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
(cherry picked from commit fb10589)
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>

Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
  • Loading branch information
mergify[bot] and Crola1702 committed Jan 23, 2023
1 parent 4e1654e commit c0bf7e1
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 c0bf7e1

Please sign in to comment.