From 3e93af0b06cada874c4a16868b6f863b599919f2 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 26 Mar 2022 10:45:58 -0400 Subject: [PATCH 1/2] Revert "bpo-46126: Disable 'descriptions' when running tests internally. (GH-30194)" This reverts commit a941e5927f7f2540946813606c61c6aea38db426. --- Lib/test/support/testresult.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Lib/test/support/testresult.py b/Lib/test/support/testresult.py index eb2279a88f9a08..2cd1366cd8a9e1 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): From a78511eb7faab9e1a0eb9db7a85ac50fa148f8ec Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 26 Mar 2022 11:41:27 -0400 Subject: [PATCH 2/2] Add blurb --- Misc/NEWS.d/next/Tests/2022-03-26-11-41-19.bpo-46126.q14Ioy.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Tests/2022-03-26-11-41-19.bpo-46126.q14Ioy.rst 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 00000000000000..0877b0e385743d --- /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.