[Python-checkins] cpython: test

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


https://hg.python.org/cpython/rev/9afc4aca1237
changeset:   98381:9afc4aca1237
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Tue Sep 29 13:47:15 2015 +0200
summary:
  test

files:
  Lib/test/libregrtest/main.py |  4 +---
  Lib/test/test_regrtest.py    |  2 --
  2 files changed, 1 insertions(+), 5 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,9 +246,7 @@
         random.shuffle(selected)
     if ns.trace:
         import trace, tempfile
-        tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,
-                                         tempfile.gettempdir()],
-                             trace=False, count=True)
+        tracer = trace.Trace(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,8 +549,6 @@
                  % (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