Skip to content

Commit 7178030

Browse files
committed
lint
1 parent f61c5bc commit 7178030

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/backends/ros/messages/test_std_msgs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ def test_subclasses_define_type_name():
3232

3333
def test_consistent_naming():
3434
for cls in ROSmsg.__subclasses__():
35-
assert (
36-
cls.ROS_MSG_TYPE.split("/")[1] == cls.__name__
37-
), "Class {} does not match to the ROS msg type name={}".format(cls.__name__, cls.ROS_MSG_TYPE)
35+
assert cls.ROS_MSG_TYPE.split("/")[1] == cls.__name__, (
36+
"Class {} does not match to the ROS msg type name={}".format(cls.__name__, cls.ROS_MSG_TYPE)
37+
)
3838

3939

4040
def test_uniqueness_of_msg_type():

0 commit comments

Comments
 (0)