mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
When the regression test is run in verbose mode, make the PyUNIT-based
tests a little noisier, providing more progress information.
This commit is contained in:
parent
db81e8ddf8
commit
84a5934f8a
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class BasicTestRunner:
|
|||
def run_unittest(testclass):
|
||||
"""Run tests from a unittest.TestCase-derived class."""
|
||||
if verbose:
|
||||
runner = unittest.TextTestRunner(sys.stdout, descriptions=0)
|
||||
runner = unittest.TextTestRunner(sys.stdout, verbosity=2)
|
||||
else:
|
||||
runner = BasicTestRunner()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue