diff options
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): |