diff --git a/colcon_core/task/python/test/pytest.py b/colcon_core/task/python/test/pytest.py index 817e4a57..cc14780b 100644 --- a/colcon_core/task/python/test/pytest.py +++ b/colcon_core/task/python/test/pytest.py @@ -171,9 +171,9 @@ async def step(self, context, env, setup_py_data): # noqa: D102 EXIT_CODE_NO_TESTS = EXIT_NOTESTSCOLLECTED # noqa: N806 if sys.platform == 'win32': - EXIT_CODE_TESTS_CRASHED = 3221225477 + EXIT_CODE_TESTS_CRASHED = 3221225477 # noqa: N806 else: - EXIT_CODE_TESTS_CRASHED = -11 + EXIT_CODE_TESTS_CRASHED = -11 # noqa: N806 if completed.returncode in ( EXIT_CODE_TESTS_FAILED, EXIT_CODE_TESTS_CRASHED