Oops, revert unwanted change, sorry

This commit is contained in:
Victor Stinner 2015-09-29 14:02:35 +02:00
parent 449b271799
commit feabaed054
2 changed files with 5 additions and 1 deletions

View file

@ -246,7 +246,9 @@ 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(trace=False, count=True) tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,
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,6 +549,8 @@ 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()