[Python-checkins] cpython: Fix docstring and some indentation
eli.bendersky
python-checkins at python.org
Tue Sep 3 01:52:55 CEST 2013
http://hg.python.org/cpython/rev/a3a5411bf9bf
changeset: 85504:a3a5411bf9bf
user: Eli Bendersky <eliben at gmail.com>
date: Mon Sep 02 16:52:25 2013 -0700
summary:
Fix docstring and some indentation
files:
Lib/test/regrtest.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -918,14 +918,15 @@
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 @@
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:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list