test
This commit is contained in:
parent
2bfed53b88
commit
3f7468507a
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue