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

Method pop_next

Lib/test/test_bdb.py:245–253  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

243 self.clear_bpbynumber(n)
244
245 def pop_next(self):
246 self.expect_set_no += 1
247 try:
248 self.expect = self.expected_list.pop(0)
249 except IndexError:
250 raise BdbNotExpectedError(
251 'expect_set list exhausted, cannot pop item %d' %
252 self.expect_set_no)
253 self.set_tuple = self.set_list.pop(0)
254
255 def process_event(self, event, frame, *args):
256 # Call get_stack() to enable walking the stack with set_up() and

Callers 2

process_eventMethod · 0.95
next_set_methodMethod · 0.95

Calls 2

BdbNotExpectedErrorClass · 0.85
popMethod · 0.45

Tested by

no test coverage detected