Mention pytest_enter_pdb in the docs

This commit is contained in:
Bruno Oliveira 2015-11-23 12:59:56 -02:00
parent a24126effb
commit 1f148a93ec
2 changed files with 4 additions and 2 deletions

View File

@ -291,4 +291,6 @@ def pytest_exception_interact(node, call, report):
"""
def pytest_enter_pdb():
""" called upon pdb.set_trace()"""
""" called upon pdb.set_trace(), can be used by plugins to take special
action just before the python debugger enters in interactive mode.
"""

View File

@ -501,7 +501,7 @@ reporting or interaction with exceptions:
.. autofunction:: pytest_internalerror
.. autofunction:: pytest_keyboard_interrupt
.. autofunction:: pytest_exception_interact
.. autofunction:: pytest_enter_pdb
Reference of objects involved in hooks