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

Method check_expect_max_size

Lib/test/test_bdb.py:321–324  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

319 'Wrong function name')
320
321 def check_expect_max_size(self, size):
322 if len(self.expect) > size:
323 raise BdbSyntaxError('Invalid size of the %s expect tuple: %s' %
324 (self.event, self.expect))
325
326 def lno_abs2rel(self):
327 fname = self.canonic(self.frame.f_code.co_filename)

Callers 2

process_eventMethod · 0.95
next_set_methodMethod · 0.95

Calls 1

BdbSyntaxErrorClass · 0.85

Tested by

no test coverage detected