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

Method test_cache_path

Lib/test/test_py_compile.py:101–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

99 py_compile.compile(self.source_path, os.devnull)
100
101 def test_cache_path(self):
102 py_compile.compile(self.source_path)
103 self.assertTrue(os.path.exists(self.cache_path))
104
105 def test_cwd(self):
106 with os_helper.change_cwd(self.directory):

Callers

nothing calls this directly

Calls 3

assertTrueMethod · 0.80
compileMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected