summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/regrtest.py')
-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: