Handle Exit exception in pytest_sessionfinish (#6660)

This commit is contained in:
Daniel Hahler
2020-02-07 00:40:10 +01:00
committed by GitHub
3 changed files with 46 additions and 10 deletions
+1
View File
@@ -0,0 +1 @@
:func:`pytest.exit() <_pytest.outcomes.exit>` is handled when emitted from the :func:`pytest_sessionfinish <_pytest.hookspec.pytest_sessionfinish>` hook. This includes quitting from a debugger.