Kaydet (Commit) a24db67d authored tarafından R. David Murray's avatar R. David Murray

Clarify error report message, and don't recommend running in verbose

mode for more information if we are already running in verbose mode.
üst 92a27b52
...@@ -894,7 +894,9 @@ def _run_suite(suite): ...@@ -894,7 +894,9 @@ def _run_suite(suite):
elif len(result.failures) == 1 and not result.errors: elif len(result.failures) == 1 and not result.errors:
err = result.failures[0][1] err = result.failures[0][1]
else: else:
err = "errors occurred; run in verbose mode for details" err = "multiple errors occurred"
if not verbose:
err += "; run in verbose mode for details"
raise TestFailed(err) raise TestFailed(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment