summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-24 13:48:36 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-24 13:48:36 (GMT)
commit747e1cade657e1e15c0f51d898de901da723e6a2 (patch)
treeb116ee62526312e7286e5801be5bbb0b53ff65ec /Lib/test
parentf1536db2e7eda64158b0cc55c4946f370a99c175 (diff)
downloadcpython-747e1cade657e1e15c0f51d898de901da723e6a2.zip
cpython-747e1cade657e1e15c0f51d898de901da723e6a2.tar.gz
cpython-747e1cade657e1e15c0f51d898de901da723e6a2.tar.bz2
Should pass explicit arguments to findtests(). Should initialize 'nottests'.
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py6
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: