mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Implemented PEP 405 (Python virtual environments).
This commit is contained in:
parent
f2bdc3690a
commit
7ded1f0f69
41 changed files with 1454 additions and 66 deletions
|
@ -564,7 +564,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
|
|||
random.shuffle(selected)
|
||||
if trace:
|
||||
import trace, tempfile
|
||||
tracer = trace.Trace(ignoredirs=[sys.prefix, sys.exec_prefix,
|
||||
tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,
|
||||
tempfile.gettempdir()],
|
||||
trace=False, count=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue