summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-09-02 23:52:25 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-09-02 23:52:25 (GMT)
commite5eebedd55334a7f869b9e6f73b084e60b587006 (patch)
tree98cc00db64f9b04650ce7ed9bf1bcbcecae144d4 /Lib
parentc56e0e39803cbaf0211cedcee4c13e47dfe6f6f9 (diff)
downloadcpython-e5eebedd55334a7f869b9e6f73b084e60b587006.zip
cpython-e5eebedd55334a7f869b9e6f73b084e60b587006.tar.gz
cpython-e5eebedd55334a7f869b9e6f73b084e60b587006.tar.bz2
Fix docstring and some indentation
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/regrtest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 075f347..01d9729 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -918,14 +918,15 @@ def runtest(test, verbose, quiet,
test -- the name of the test
verbose -- if true, print more messages
quiet -- if true, don't print 'skipped' messages (probably redundant)
- test_times -- a list of (time, test_name) pairs
huntrleaks -- run multiple times to test for leaks; requires a debug
build; a triple corresponding to -R's three arguments
+ use_resources -- list of extra resources to use
output_on_failure -- if true, display test output on failure
timeout -- dump the traceback and exit if a test takes more than
timeout seconds
+ failfast, match_tests -- See regrtest command-line flags for these.
- Returns one of the test result constants:
+ Returns the tuple result, test_time, where result is one of the constants:
INTERRUPTED KeyboardInterrupt when run under -j
RESOURCE_DENIED test skipped because resource denied
SKIPPED test skipped for some other reason
@@ -1276,8 +1277,7 @@ def runtest_inner(test, verbose, quiet,
test_runner = lambda: support.run_unittest(tests)
test_runner()
if huntrleaks:
- refleak = dash_R(the_module, test, test_runner,
- huntrleaks)
+ refleak = dash_R(the_module, test, test_runner, huntrleaks)
test_time = time.time() - start_time
except support.ResourceDenied as msg:
if not quiet: