(self)
| 2466 | swap_attr(sys, 'breakpointhook', sys.__breakpointhook__)) |
| 2467 | |
| 2468 | def test_breakpoint(self): |
| 2469 | with patch('pdb.set_trace') as mock: |
| 2470 | breakpoint() |
| 2471 | mock.assert_called_once() |
| 2472 | |
| 2473 | def test_breakpoint_with_breakpointhook_set(self): |
| 2474 | my_breakpointhook = MagicMock() |
nothing calls this directly
no test coverage detected