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

Method assertCompiled

Lib/test/test_compileall.py:571–573  ·  view source on GitHub ↗
(self, fn)

Source from the content-addressed store, hash-verified

569 return rc, out, err
570
571 def assertCompiled(self, fn):
572 path = importlib.util.cache_from_source(fn)
573 self.assertTrue(os.path.exists(path))
574
575 def assertNotCompiled(self, fn):
576 path = importlib.util.cache_from_source(fn)

Callers 11

test_recursion_limitMethod · 0.95
test_symlink_loopMethod · 0.95
test_regexpMethod · 0.95
test_multiple_dirsMethod · 0.95
test_include_on_stdinMethod · 0.95
test_workersMethod · 0.95

Calls 2

assertTrueMethod · 0.80
existsMethod · 0.45

Tested by

no test coverage detected