[issue11015] Bring test.support docs up to date

Nick Coghlan report at bugs.python.org
Fri Jan 28 10:23:53 CET 2011


Nick Coghlan <ncoghlan at gmail.com> added the comment:

verbose isn't a boolean at all - it's an integer. You can supply it multiple times to bump the logging level up even higher than normal.

~/devel/py3k/Lib/test$ grep "verbose >" *.py
regrtest.py:                    if self.verbose > 1:
test_cmd_line_script.py:        if verbose > 1:
test_cmd_line_script.py:        if verbose > 1:
test_cmd_line_script.py:        if verbose > 1:
test_cmd_line_script.py:                if verbose > 1:
test_cmd_line_script.py:                    if verbose > 1:
test_fork1.py:                    if verbose > 1:
test_fork1.py:                    if verbose > 1:

(I didn't check explicitly, but I believe those verbose values are shorthand references to test.support.verbose)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11015>
_______________________________________


More information about the Python-bugs-list mailing list