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

Function test_after

tests/tests/test_timeline.py:242–256  ·  view source on GitHub ↗
(make_timeline)

Source from the content-addressed store, hash-verified

240
241
242def test_after(make_timeline):
243 timeline, _ = make_timeline()
244 first = timeline.mark("first")
245
246 second_exp = first >> Mark("second")
247 with timeline.frozen():
248 assert second_exp not in timeline
249
250 timeline.mark("second")
251 with timeline.frozen():
252 assert second_exp in timeline
253
254 timeline.mark("first")
255 with timeline.frozen():
256 assert Mark("second") >> Mark("first") in timeline
257
258
259def test_before(make_timeline):

Callers

nothing calls this directly

Calls 4

MarkFunction · 0.90
make_timelineFunction · 0.85
markMethod · 0.80
frozenMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…