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

Method test_library_module

Lib/test/test_runpy.py:220–221  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

218 self.expect_import_error("multiprocessing")
219
220 def test_library_module(self):
221 self.assertEqual(run_module("runpy")["__name__"], "runpy")
222
223 def _add_pkg_dir(self, pkg_dir, namespace=False):
224 os.mkdir(pkg_dir)

Callers

nothing calls this directly

Calls 2

run_moduleFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected