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

Method test_absolute_path

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

Source from the content-addressed store, hash-verified

98 self.fail('no __pycache__/_test.*.pyc file exists')
99
100 def test_absolute_path(self):
101 py_compile.compile(self.source_path, self.pyc_path)
102 self.assertTrue(os.path.exists(self.pyc_path))
103 self.assert_cache_path_exists(False)
104
105 def test_do_not_overwrite_symlinks(self):
106 # In the face of a cfile argument being a symlink, bail out.

Callers

nothing calls this directly

Calls 4

assertTrueMethod · 0.80
compileMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected