Suspend on setup(). Needed after do_continue resumed, and entering another breakpoint again.
(self, f, tb)
| 212 | do_exit = do_quit |
| 213 | |
| 214 | def setup(self, f, tb): |
| 215 | """Suspend on setup(). |
| 216 | |
| 217 | Needed after do_continue resumed, and entering another |
| 218 | breakpoint again. |
| 219 | """ |
| 220 | ret = super().setup(f, tb) |
| 221 | if not ret and self._continued: |
| 222 | # pdb.setup() returns True if the command wants to exit |
| 223 | # from the interaction: do not suspend capturing then. |
| 224 | if self._pytest_capman: |
| 225 | self._pytest_capman.suspend_global_capture(in_=True) |
| 226 | return ret |
| 227 | |
| 228 | def get_stack(self, f, t): |
| 229 | stack, i = super().get_stack(f, t) |
nothing calls this directly
no test coverage detected