From: Jason R. Coombs Date: Sun, 3 Apr 2022 19:33:28 +0000 (-0400) Subject: bpo-46126: Restore 'descriptions' when running tests internally. (GH-32128) X-Git-Tag: v3.11.0a7~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84acb5cad1b871bb8729cbf1d036b84cbe1636f0;p=thirdparty%2FPython%2Fcpython.git bpo-46126: Restore 'descriptions' when running tests internally. (GH-32128) This reverts commit a941e5927f7f2540946813606c61c6aea38db426 (GH-30194). Automerge-Triggered-By: GH:jaraco --- diff --git a/Lib/test/support/testresult.py b/Lib/test/support/testresult.py index eb2279a88f9a..2cd1366cd8a9 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 000000000000..0877b0e38574 --- /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.