MCPcopy Create free account
hub / github.com/pytest-dev/pytest / pytest_enter_pdb

Function pytest_enter_pdb

src/_pytest/hookspec.py:909–917  ·  view source on GitHub ↗

Called upon pdb.set_trace(). Can be used by plugins to take special action just before the python debugger enters interactive mode. :param pytest.Config config: The pytest config object. :param pdb.Pdb pdb: The Pdb instance.

(config: "Config", pdb: "pdb.Pdb")

Source from the content-addressed store, hash-verified

907
908
909def pytest_enter_pdb(config: "Config", pdb: "pdb.Pdb") -> None:
910 """Called upon pdb.set_trace().
911
912 Can be used by plugins to take special action just before the python
913 debugger enters interactive mode.
914
915 :param pytest.Config config: The pytest config object.
916 :param pdb.Pdb pdb: The Pdb instance.
917 """
918
919
920def pytest_leave_pdb(config: "Config", pdb: "pdb.Pdb") -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected