diff options
Diffstat (limited to 'src/_pytest/faulthandler.py')
-rw-r--r-- | src/_pytest/faulthandler.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/_pytest/faulthandler.py b/src/_pytest/faulthandler.py index 0d969840b..e4a952966 100644 --- a/src/_pytest/faulthandler.py +++ b/src/_pytest/faulthandler.py @@ -100,8 +100,7 @@ class FaultHandlerHooks: @pytest.hookimpl(tryfirst=True) def pytest_enter_pdb(self) -> None: - """Cancel any traceback dumping due to timeout before entering pdb. - """ + """Cancel any traceback dumping due to timeout before entering pdb.""" import faulthandler faulthandler.cancel_dump_traceback_later() @@ -109,8 +108,7 @@ class FaultHandlerHooks: @pytest.hookimpl(tryfirst=True) def pytest_exception_interact(self) -> None: """Cancel any traceback dumping due to an interactive exception being - raised. - """ + raised.""" import faulthandler faulthandler.cancel_dump_traceback_later() |