MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_library_module

Method test_library_module

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

run_moduleFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected