]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-111165: Add missed "support." prefix for "verbose" (GH-111327) (GH-111329)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Oct 2023 15:15:50 +0000 (17:15 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Oct 2023 15:15:50 +0000 (15:15 +0000)
(cherry picked from commit a4981921aa2c00f3883ef593fde1dbc034e3c304)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/libregrtest/single.py

index b4ae29905721dcdd1b5ff1c09ade3797286a9802..ad75ef54a8c3f8a892b7abb341b278fa4ca35f12 100644 (file)
@@ -70,7 +70,7 @@ def _run_suite(suite):
             err = result.failures[0][1]
         else:
             err = "multiple errors occurred"
-            if not verbose: err += "; run in verbose mode for details"
+            if not support.verbose: err += "; run in verbose mode for details"
         errors = [(str(tc), exc_str) for tc, exc_str in result.errors]
         failures = [(str(tc), exc_str) for tc, exc_str in result.failures]
         raise support.TestFailedWithDetails(err, errors, failures, stats=stats)