From: Victor Stinner Date: Tue, 29 Sep 2015 12:02:35 +0000 (+0200) Subject: Oops, revert unwanted change, sorry X-Git-Tag: v3.6.0a1~1400 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=feabaed054ae94cf1104d21f2c13568c5c8b6622;p=thirdparty%2FPython%2Fcpython.git Oops, revert unwanted change, sorry --- diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py index 3724f27b23b2..5d34cffd4921 100644 --- a/Lib/test/libregrtest/main.py +++ b/Lib/test/libregrtest/main.py @@ -246,7 +246,9 @@ def main(tests=None, **kwargs): random.shuffle(selected) if ns.trace: import trace, tempfile - tracer = trace.Trace(trace=False, count=True) + tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix, + tempfile.gettempdir()], + trace=False, count=True) test_times = [] support.verbose = ns.verbose # Tell tests to be moderately quiet diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index 5906c1736569..ca4b356fc485 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -549,6 +549,8 @@ class ArgsTestCase(BaseTestCase): % (self.TESTNAME_REGEX, len(tests))) self.check_line(output, regex) + @unittest.skipIf(sys.platform == 'win32', + "FIXME: coverage doesn't work on Windows") def test_coverage(self): # test --coverage test = self.create_test()