MCPcopy Create free account
hub / github.com/microsoft/debugpy / test_path_with_ampersand

Function test_path_with_ampersand

tests/debugpy/test_breakpoints.py:26–36  ·  view source on GitHub ↗
(target, run)

Source from the content-addressed store, hash-verified

24
25@pytest.mark.parametrize("target", targets.all_named)
26def test_path_with_ampersand(target, run):
27 test_py = bp_root / "a&b" / "test.py"
28
29 with debug.Session() as session:
30 with run(session, target(test_py)):
31 session.set_breakpoints(test_py, ["two"])
32
33 session.wait_for_stop(
34 "breakpoint", expected_frames=[some.dap.frame(test_py, line="two")]
35 )
36 session.request_continue()
37
38
39@pytest.mark.parametrize("target", targets.all_named)

Callers

nothing calls this directly

Calls 5

set_breakpointsMethod · 0.80
wait_for_stopMethod · 0.80
request_continueMethod · 0.80
runFunction · 0.70
targetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…