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

Method checkcall

Lib/test/string_tests.py:88–91  ·  view source on GitHub ↗
(self, obj, methodname, *args)

Source from the content-addressed store, hash-verified

86
87 # call obj.method(*args) without any checks
88 def checkcall(self, obj, methodname, *args):
89 obj = self.fixtype(obj)
90 args = self.fixtype(args)
91 getattr(obj, methodname)(*args)
92
93 def _get_teststrings(self, charset, digits):
94 base = len(charset)

Callers 2

test_formattingMethod · 0.45
test_floatformattingMethod · 0.45

Calls 1

fixtypeMethod · 0.95

Tested by

no test coverage detected