test_ok1/changelog/5144.bugfix.rst

2 lines
117 B
ReStructuredText

With usage errors ``exitstatus`` is set to ``EXIT_USAGEERROR`` in the ``pytest_sessionfinish`` hook now as expected.