diff --git a/changelog/5144.bugfix.rst b/changelog/5144.bugfix.rst new file mode 100644 index 000000000..c8c270288 --- /dev/null +++ b/changelog/5144.bugfix.rst @@ -0,0 +1 @@ +With usage errors ``exitstatus`` is set to ``EXIT_USAGEERROR`` in the ``pytest_sessionfinish`` hook now as expected.