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

Method assertCompiled

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

Source from the content-addressed store, hash-verified

573 return rc, out, err
574
575 def assertCompiled(self, fn):
576 path = importlib.util.cache_from_source(fn)
577 self.assertTrue(os.path.exists(path))
578
579 def assertNotCompiled(self, fn):
580 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