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:
Fred Drake 2001-03-23 04:21:17 +00:00
parent db81e8ddf8
commit 84a5934f8a

View file

@ -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()