Skip to content

Commit c60763f

Browse files
committed
chore: exmplicit comment ros_setup fn
1 parent 0603706 commit c60763f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/communication/ros2/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
shutdown_executors_and_threads,
3434
)
3535

36-
ros_setup # type: ignore prevents pytest from complaining about unused fixture
36+
_ = ros_setup # Explicitly use the fixture to prevent pytest warnings
3737

3838

3939
def test_ros2_single_message_publish(

tests/communication/ros2/test_connectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
shutdown_executors_and_threads,
3232
)
3333

34-
ros_setup # type: ignore prevents pytest from complaining about unused fixture
34+
_ = ros_setup # Explicitly use the fixture to prevent pytest warnings
3535

3636

3737
def test_ros2ari_connector_send_message(

0 commit comments

Comments
 (0)