pytest_{enter,leave}_pdb: pass through pdb instance

This commit is contained in:
Daniel Hahler
2018-10-24 23:27:14 +02:00
parent a4ea66cb1f
commit ede3a4e850
4 changed files with 23 additions and 6 deletions

View File

@@ -1 +1,4 @@
Resume capturing output after ``continue`` with ``__import__("pdb").set_trace()``.
This also adds a new ``pytest_leave_pdb`` hook, and passes in ``pdb`` to the
existing ``pytest_enter_pdb`` hook.