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

Method envpy

Lib/test/test_venv.py:92–97  ·  view source on GitHub ↗
(self, *, real_env_dir=False)

Source from the content-addressed store, hash-verified

90 rmtree(self.env_dir)
91
92 def envpy(self, *, real_env_dir=False):
93 if real_env_dir:
94 env_dir = os.path.realpath(self.env_dir)
95 else:
96 env_dir = self.env_dir
97 return os.path.join(env_dir, self.bindir, self.exe)
98
99 def run_with_capture(self, func, *args, **kwargs):
100 with captured_stdout() as output:

Callers 10

test_prefixesMethod · 0.80
test_sysconfigMethod · 0.80
test_executableMethod · 0.80
test_multiprocessingMethod · 0.80
test_macos_envMethod · 0.80
do_test_with_pipMethod · 0.80

Calls 2

realpathMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected