ros2 / launch

Tools for launching multiple processes and for writing tests involving multiple processes.
Apache License 2.0
125 stars 139 forks source link

Don't write Python bytecode when invoking launch tests #785

Closed cottsay closed 3 months ago

cottsay commented 3 months ago

This should prevent pytest invocations via add_launch_test from writing __pycache__ directories into the package sources.

See also: colcon/colcon-core#611, ament/ament_cmake#533

https://docs.python.org/3/using/cmdline.html#envvar-PYTHONDONTWRITEBYTECODE

cottsay commented 3 months ago