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

Function factory

tests/tests/test_timeline.py:42–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 timelines = []
41
42 def factory():
43 timeline = Timeline()
44 timelines.append(timeline)
45 with timeline.frozen():
46 assert timeline.beginning is not None
47 initial_history = [some.object.same_as(timeline.beginning)]
48 assert timeline.history() == initial_history
49 return timeline, initial_history
50
51 yield factory
52 log.newline()

Callers

nothing calls this directly

Calls 5

frozenMethod · 0.95
historyMethod · 0.95
TimelineClass · 0.90
same_asMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…