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

Method check_equal

Lib/test/test_bdb.py:305–309  ·  view source on GitHub ↗
(self, expected, result, msg)

Source from the content-addressed store, hash-verified

303 (self.expect_set_no, self.exc_info))
304
305 def check_equal(self, expected, result, msg):
306 if expected == result:
307 return
308 self.raise_not_expected("%s at expect_set item %d, got '%s'" %
309 (msg, self.expect_set_no, result))
310
311 def check_lno_name(self):
312 """Check the line number and function co_name."""

Callers 2

process_eventMethod · 0.95
check_lno_nameMethod · 0.95

Calls 1

raise_not_expectedMethod · 0.95

Tested by

no test coverage detected