Kaydet (Commit) 747e1cad authored tarafından Guido van Rossum's avatar Guido van Rossum

Should pass explicit arguments to findtests(). Should initialize 'nottests'.

üst f1536db2
......@@ -72,10 +72,12 @@ def main(tests=None, testdir=None):
# Strip trailing ".py" from arguments
if args[i][-3:] == '.py':
args[i] = args[i][:-3]
stdtests = STDTESTS
nottests = NOTTESTS
if exclude:
nottests[:0] = args
nottests = args
args = []
tests = tests or args or findtests()
tests = tests or args or findtests(testdir, stdtests, nottests)
test_support.verbose = verbose # Tell tests to be moderately quiet
for test in tests:
if not quiet:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment