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

Method test_method_call

Lib/test/test_monitoring.py:1928–1933  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1926 return d["f"], expected
1927
1928 def test_method_call(self):
1929 nonopt_func, nonopt_expected = self._super_method_call(optimized=False)
1930 opt_func, opt_expected = self._super_method_call(optimized=True)
1931
1932 self.check_events(nonopt_func, recorders=self.RECORDERS, expected=nonopt_expected)
1933 self.check_events(opt_func, recorders=self.RECORDERS, expected=opt_expected)
1934
1935 def _super_method_call_error(self, optimized=False):
1936 codestr = """

Callers

nothing calls this directly

Calls 2

_super_method_callMethod · 0.95
check_eventsMethod · 0.45

Tested by

no test coverage detected