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

Method test_user_class_in___main__

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

Source from the content-addressed store, hash-verified

647 self.assert_class_defs_same(defs)
648
649 def test_user_class_in___main__(self):
650 with using___main__() as mod:
651 defs = load_defs(mod)
652 self.assert_class_defs_same(defs)
653
654 def test_user_class_not_in___main___with_filename(self):
655 with using___main__() as mod:

Callers

nothing calls this directly

Calls 3

using___main__Function · 0.85
load_defsFunction · 0.85

Tested by

no test coverage detected