mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
ruff: Fix N818 exception name should be named with an Error suffix.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
eb2c822d3f
commit
73c4da7974
@@ -66,7 +66,7 @@ from zerver.lib.streams import (
|
||||
from zerver.lib.subscription_info import gather_subscriptions
|
||||
from zerver.lib.test_console_output import (
|
||||
ExtraConsoleOutputFinder,
|
||||
ExtraConsoleOutputInTestException,
|
||||
ExtraConsoleOutputInTestError,
|
||||
tee_stderr_and_find_extra_console_output,
|
||||
tee_stdout_and_find_extra_console_output,
|
||||
)
|
||||
@@ -192,7 +192,7 @@ Output:
|
||||
{extra_output_finder.full_extra_output.decode(errors="replace")}
|
||||
--------------------------------------------
|
||||
"""
|
||||
raise ExtraConsoleOutputInTestException(exception_message)
|
||||
raise ExtraConsoleOutputInTestError(exception_message)
|
||||
return test_result
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user