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

Method test_user_class_in_module

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

Source from the content-addressed store, hash-verified

680 self.assert_class_defs_other_unpickle(defs, mod, fail=True)
681
682 def test_user_class_in_module(self):
683 with temp_module('__spam__') as mod:
684 defs = load_defs(mod)
685 self.assert_class_defs_same(defs)
686
687 def test_user_class_not_in_module_with_filename(self):
688 with temp_module('__spam__') as mod:

Callers

nothing calls this directly

Calls 3

load_defsFunction · 0.85
temp_moduleFunction · 0.70

Tested by

no test coverage detected