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

Method test_user_func_in_module

Lib/test/test_crossinterp.py:792–795  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

790 self.assert_func_defs_other_unpickle(defs, mod, fail=True)
791
792 def test_user_func_in_module(self):
793 with temp_module('__spam__') as mod:
794 defs = load_defs(mod)
795 self.assert_func_defs_same(defs)
796
797 def test_user_func_not_in_module_with_filename(self):
798 with temp_module('__spam__') as mod:

Callers

nothing calls this directly

Calls 3

assert_func_defs_sameMethod · 0.95
load_defsFunction · 0.85
temp_moduleFunction · 0.70

Tested by

no test coverage detected