From: Guido van Rossum Date: Mon, 24 Aug 1998 13:48:36 +0000 (+0000) Subject: Should pass explicit arguments to findtests(). Should initialize 'nottests'. X-Git-Tag: v1.5.2a2~361 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=747e1cade657e1e15c0f51d898de901da723e6a2;p=python Should pass explicit arguments to findtests(). Should initialize 'nottests'. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 21d35cfd74..9a890a883f 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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: