(case_setup)
| 267 | |
| 268 | |
| 269 | def test_case_double_remove_breakpoint(case_setup): |
| 270 | with case_setup.test_file("_debugger_case_remove_breakpoint.py") as writer: |
| 271 | breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content("break here")) |
| 272 | writer.write_make_initial_run() |
| 273 | |
| 274 | hit = writer.wait_for_breakpoint_hit() |
| 275 | writer.write_remove_breakpoint(breakpoint_id) |
| 276 | writer.write_remove_breakpoint(breakpoint_id) # Double-remove (just check that we don't have an error). |
| 277 | writer.write_run_thread(hit.thread_id) |
| 278 | |
| 279 | writer.finished_ok = True |
| 280 | |
| 281 | |
| 282 | @pytest.mark.skipif(IS_IRONPYTHON, reason="This test fails once in a while due to timing issues on IronPython, so, skipping it.") |
nothing calls this directly
no test coverage detected