…) (#541)
* Fix Pytest 8/9 compatibility in launch_testing_ros hooks (#540)
Rename deprecated path argument to module_path to avoid warnings and failures in newer pytest versions.
Assisted-by: Gemini CLI:2.0-Flash [run_shell_command, replace, git, gh]
Signed-off-by: Michael Carroll <mjcarroll.oss@gmail.com>
(cherry picked from commit 5ba9fa4)
* Fix launch_testing_ros so it works with pytest 7. (#543)
We need this compatibility because Windows pixi is
still using an older pytest. This doesn't really
hurt anything either.
While we are in here, fix a pep257 warning that I noticed
in the tests.
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
---------
Signed-off-by: Michael Carroll <mjcarroll.oss@gmail.com>
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Co-authored-by: Michael Carroll <mjcarroll.oss@gmail.com>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
This PR fixes deprecated hook signatures in launch_testing_ros that cause failures in newer pytest versions (e.g. Pytest 9.0).
Related: ros2/launch#972