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

Method frozen

tests/timeline.py:105–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103
104 @contextlib.contextmanager
105 def frozen(self):
106 was_frozen = self.is_frozen
107 self.freeze()
108 yield
109 if not was_frozen and not self.is_final:
110 self.unfreeze()
111
112 @contextlib.contextmanager
113 def unfrozen(self):

Callers 13

wait_untilMethod · 0.95
factoryFunction · 0.95
nextMethod · 0.80
test_occurrencesFunction · 0.80
test_eventFunction · 0.80
test_request_responseFunction · 0.80
test_afterFunction · 0.80
test_beforeFunction · 0.80
test_andFunction · 0.80
test_orFunction · 0.80
test_xorFunction · 0.80
test_conditionalFunction · 0.80

Calls 2

freezeMethod · 0.95
unfreezeMethod · 0.95

Tested by 11

factoryFunction · 0.76
test_occurrencesFunction · 0.64
test_eventFunction · 0.64
test_request_responseFunction · 0.64
test_afterFunction · 0.64
test_beforeFunction · 0.64
test_andFunction · 0.64
test_orFunction · 0.64
test_xorFunction · 0.64
test_conditionalFunction · 0.64
test_frozenFunction · 0.64