]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46126: Restore 'descriptions' when running tests internally. (GH-32128)
authorJason R. Coombs <jaraco@jaraco.com>
Sun, 3 Apr 2022 19:33:28 +0000 (15:33 -0400)
committerGitHub <noreply@github.com>
Sun, 3 Apr 2022 19:33:28 +0000 (12:33 -0700)
This reverts commit a941e5927f7f2540946813606c61c6aea38db426 (GH-30194).

Automerge-Triggered-By: GH:jaraco
Lib/test/support/testresult.py
Misc/NEWS.d/next/Tests/2022-03-26-11-41-19.bpo-46126.q14Ioy.rst [new file with mode: 0644]

index eb2279a88f9a083ebe9da04e90feb7dc8b34d777..2cd1366cd8a9e1fbfecd69aba6440f943890e742 100644 (file)
@@ -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 (file)
index 0000000..0877b0e
--- /dev/null
@@ -0,0 +1 @@
+Restore 'descriptions' when running tests internally.