]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-111165: Add missed "support." prefix for "verbose" (GH-111327)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 25 Oct 2023 14:50:25 +0000 (17:50 +0300)
committerGitHub <noreply@github.com>
Wed, 25 Oct 2023 14:50:25 +0000 (14:50 +0000)
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)