(self)
| 2515 | swap_attr(sys, 'breakpointhook', sys.__breakpointhook__)) |
| 2516 | |
| 2517 | def test_breakpoint(self): |
| 2518 | with patch('pdb.set_trace') as mock: |
| 2519 | breakpoint() |
| 2520 | mock.assert_called_once() |
| 2521 | |
| 2522 | def test_breakpoint_with_breakpointhook_set(self): |
| 2523 | my_breakpointhook = MagicMock() |
nothing calls this directly
no test coverage detected