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

Method test_user_func_in___main__

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

Source from the content-addressed store, hash-verified

757 self.assert_func_defs_same(defs)
758
759 def test_user_func_in___main__(self):
760 with using___main__() as mod:
761 defs = load_defs(mod)
762 self.assert_func_defs_same(defs)
763
764 def test_user_func_not_in___main___with_filename(self):
765 with using___main__() as mod:

Callers

nothing calls this directly

Calls 3

assert_func_defs_sameMethod · 0.95
using___main__Function · 0.85
load_defsFunction · 0.85

Tested by

no test coverage detected