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

Method assertEqual2

Lib/test/test_tkinter/widget_tests.py:37–40  ·  view source on GitHub ↗
(self, actual, expected, msg=None, eq=object.__eq__)

Source from the content-addressed store, hash-verified

35 return str(value)
36
37 def assertEqual2(self, actual, expected, msg=None, eq=object.__eq__):
38 if eq(actual, expected):
39 return
40 self.assertEqual(actual, expected, msg)
41
42 def checkParam(self, widget, name, value, *, expected=_sentinel,
43 conv=False, eq=None):

Callers 1

checkParamMethod · 0.95

Calls 2

eqFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected