mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
ruff: Fix UP032 Use f-string instead of format call.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
f1b8e11e8b
commit
a1a341f0ae
@@ -3274,9 +3274,7 @@ class DefaultStreamGroupTest(ZulipTestCase):
|
||||
)
|
||||
self.assert_json_error(
|
||||
result,
|
||||
"Default stream group name too long (limit: {} characters)".format(
|
||||
DefaultStreamGroup.MAX_NAME_LENGTH
|
||||
),
|
||||
f"Default stream group name too long (limit: {DefaultStreamGroup.MAX_NAME_LENGTH} characters)",
|
||||
)
|
||||
|
||||
result = self.client_post(
|
||||
|
||||
Reference in New Issue
Block a user