Raise Exit outcome when quit command is used in pdb. This is a bit of a hack - it would be better if BdbQuit could be handled, but this would require to wrap the whole pytest run, and adjust the report etc.
(self, arg)
| 193 | do_c = do_cont = do_continue |
| 194 | |
| 195 | def do_quit(self, arg): |
| 196 | """Raise Exit outcome when quit command is used in pdb. |
| 197 | |
| 198 | This is a bit of a hack - it would be better if BdbQuit |
| 199 | could be handled, but this would require to wrap the |
| 200 | whole pytest run, and adjust the report etc. |
| 201 | """ |
| 202 | ret = super().do_quit(arg) |
| 203 | |
| 204 | if cls._recursive_debug == 0: |
| 205 | outcomes.exit("Quitting debugger") |
| 206 | |
| 207 | return ret |
| 208 | |
| 209 | do_q = do_quit |
| 210 | do_exit = do_quit |
nothing calls this directly
no outgoing calls
no test coverage detected