[Python-checkins] cpython: Oops, revert unwanted change, sorry

victor.stinner python-checkins at python.org
Tue Sep 29 14:02:42 CEST 2015


https://hg.python.org/cpython/rev/799d3939df39
changeset: 98383:799d3939df39
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Sep 29 14:02:35 2015 +0200
summary:
 Oops, revert unwanted change, sorry
files:
 Lib/test/libregrtest/main.py | 4 +++-
 Lib/test/test_regrtest.py | 2 ++
 2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py
--- a/Lib/test/libregrtest/main.py
+++ b/Lib/test/libregrtest/main.py
@@ -246,7 +246,9 @@
 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
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -549,6 +549,8 @@
 % (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()
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /