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
Anders Kaseorg
parent
ff409342e1
commit
e932e2ce52
@@ -342,7 +342,7 @@ class AddNewUserHistoryTest(ZulipTestCase):
|
||||
self.assertEqual(
|
||||
repr(message),
|
||||
"<Message: recip / / "
|
||||
"<UserProfile: {} {!r}>>".format(user_profile.email, user_profile.realm),
|
||||
f"<UserProfile: {user_profile.email} {user_profile.realm!r}>>",
|
||||
)
|
||||
|
||||
user_message = most_recent_usermessage(user_profile)
|
||||
|
||||
Reference in New Issue
Block a user