This commit is contained in:
Victor Stinner 2015-09-29 13:47:15 +02:00
parent 2bfed53b88
commit 3f7468507a
2 changed files with 1 additions and 5 deletions

View File

@ -246,9 +246,7 @@ def main(tests=None, **kwargs):
random.shuffle(selected) random.shuffle(selected)
if ns.trace: if ns.trace:
import trace, tempfile import trace, tempfile
tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix, tracer = trace.Trace(trace=False, count=True)
tempfile.gettempdir()],
trace=False, count=True)
test_times = [] test_times = []
support.verbose = ns.verbose # Tell tests to be moderately quiet support.verbose = ns.verbose # Tell tests to be moderately quiet

View File

@ -549,8 +549,6 @@ class ArgsTestCase(BaseTestCase):
% (self.TESTNAME_REGEX, len(tests))) % (self.TESTNAME_REGEX, len(tests)))
self.check_line(output, regex) self.check_line(output, regex)
@unittest.skipIf(sys.platform == 'win32',
"FIXME: coverage doesn't work on Windows")
def test_coverage(self): def test_coverage(self):
# test --coverage # test --coverage
test = self.create_test() test = self.create_test()