diff options
author | Guido van Rossum <guido@python.org> | 1998-08-24 13:48:36 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-08-24 13:48:36 (GMT) |
commit | 747e1cade657e1e15c0f51d898de901da723e6a2 (patch) | |
tree | b116ee62526312e7286e5801be5bbb0b53ff65ec /Lib | |
parent | f1536db2e7eda64158b0cc55c4946f370a99c175 (diff) | |
download | cpython-747e1cade657e1e15c0f51d898de901da723e6a2.zip cpython-747e1cade657e1e15c0f51d898de901da723e6a2.tar.gz cpython-747e1cade657e1e15c0f51d898de901da723e6a2.tar.bz2 |
Should pass explicit arguments to findtests(). Should initialize 'nottests'.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/regrtest.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 21d35cf..9a890a8 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: |