Skip to content

Commit

Permalink
bpo-46126: Restore 'descriptions' when running tests internally. (pyt…
Browse files Browse the repository at this point in the history
…honGH-32128)

This reverts commit a941e59 (pythonGH-30194).

Automerge-Triggered-By: GH:jaraco
  • Loading branch information
jaraco committed Apr 3, 2022
1 parent 6e3eee5 commit 84acb5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions Lib/test/support/testresult.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,7 @@ def get_test_runner_class(verbosity, buffer=False):
return functools.partial(unittest.TextTestRunner,
resultclass=RegressionTestResult,
buffer=buffer,
verbosity=verbosity,
# disable descriptions so errors are
# readily traceable. bpo-46126
descriptions=False,
)
verbosity=verbosity)
return functools.partial(QuietRegressionTestRunner, buffer=buffer)

def get_test_runner(stream, verbosity, capture_output=False):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Restore 'descriptions' when running tests internally.

0 comments on commit 84acb5c

Please sign in to comment.