diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-26 03:45:29 +0100 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-05-26 03:45:29 +0100 |
commit | bd885cf8bc59f7621b62029065a7bbfe7ab3b9fc (patch) | |
tree | b4509ec6075d931aee2e92e6affe2a16eb578287 /Lib/test/test_trace.py | |
parent | a124eb0185543ea02b835a6a41f5128c0a2943f5 (diff) | |
download | cpython-bd885cf8bc59f7621b62029065a7bbfe7ab3b9fc.tar.gz |
Implemented PEP 405 (Python virtual environments).
Diffstat (limited to 'Lib/test/test_trace.py')
-rw-r--r-- | Lib/test/test_trace.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_trace.py b/Lib/test/test_trace.py index fa0d48ca6d..ac3a1a30da 100644 --- a/Lib/test/test_trace.py +++ b/Lib/test/test_trace.py @@ -316,8 +316,8 @@ class TestCoverage(unittest.TestCase): # Ignore all files, nothing should be traced nor printed libpath = os.path.normpath(os.path.dirname(os.__file__)) # sys.prefix does not work when running from a checkout - tracer = trace.Trace(ignoredirs=[sys.prefix, sys.exec_prefix, libpath], - trace=0, count=1) + tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix, + libpath], trace=0, count=1) with captured_stdout() as stdout: self._coverage(tracer) if os.path.exists(TESTFN): |