MCPcopy Index your code
hub / github.com/python/cpython / test_ret

Method test_ret

Lib/idlelib/idle_test/test_debugger.py:121–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 self.idb.set_next.assert_called_once_with(frame)
120
121 def test_ret(self):
122 with patch.object(self.debugger, 'frame') as frame:
123 self.debugger.ret()
124 self.idb.set_return.assert_called_once_with(frame)
125
126 def test_clear_breakpoint(self):
127 self.debugger.clear_breakpoint('test.py', 4)

Callers

nothing calls this directly

Calls 2

retMethod · 0.80

Tested by

no test coverage detected