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