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

Method test_basic_callback

Lib/test/test_weakref.py:165–168  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

163 self.assertIn('MyConfig', str(obj_weakref))
164
165 def test_basic_callback(self):
166 self.check_basic_callback(C)
167 self.check_basic_callback(create_function)
168 self.check_basic_callback(create_bound_method)
169
170 @support.cpython_only
171 def test_cfunction(self):

Callers

nothing calls this directly

Calls 1

check_basic_callbackMethod · 0.95

Tested by

no test coverage detected