From 84acb5cad1b871bb8729cbf1d036b84cbe1636f0 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 3 Apr 2022 15:33:28 -0400 Subject: bpo-46126: Restore 'descriptions' when running tests internally. (GH-32128) This reverts commit a941e5927f7f2540946813606c61c6aea38db426 (GH-30194). Automerge-Triggered-By: GH:jaraco --- Lib/test/support/testresult.py | 6 +----- Misc/NEWS.d/next/Tests/2022-03-26-11-41-19.bpo-46126.q14Ioy.rst | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 Misc/NEWS.d/next/Tests/2022-03-26-11-41-19.bpo-46126.q14Ioy.rst diff --git a/Lib/test/support/testresult.py b/Lib/test/support/testresult.py index eb2279a..2cd1366 100644 --- a/Lib/test/support/testresult.py +++ b/Lib/test/support/testresult.py @@ -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): diff --git a/Misc/NEWS.d/next/Tests/2022-03-26-11-41-19.bpo-46126.q14Ioy.rst b/Misc/NEWS.d/next/Tests/2022-03-26-11-41-19.bpo-46126.q14Ioy.rst new file mode 100644 index 0000000..0877b0e --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2022-03-26-11-41-19.bpo-46126.q14Ioy.rst @@ -0,0 +1 @@ +Restore 'descriptions' when running tests internally. -- cgit v0.12