Derive outcomes.exit.Exception from SystemExit instead of KeyboardInterrupt
This is required for properly getting out of pdb, where KeyboardInterrupt is caught in py36 at least. Ref: https://github.com/pytest-dev/pytest/issues/1865#issuecomment-242599949
This commit is contained in:
1
changelog/4292.feature.rst
Normal file
1
changelog/4292.feature.rst
Normal file
@@ -0,0 +1 @@
|
||||
``pytest.outcomes.Exit`` is derived from ``SystemExit`` instead of ``KeyboardInterrupt``.
|
||||
Reference in New Issue
Block a user