Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

lint: Fix a new % format string that should be fstring.

Tim Abbottf448ee404a26
diff --git a/zerver/tests/test_auth_backends.py b/zerver/tests/test_auth_backends.py
index 88cf0862c7c..d5cd68f8211 100644
--- a/zerver/tests/test_auth_backends.py
+++ b/zerver/tests/test_auth_backends.py
@@ -2099,7 +2099,7 @@ class AppleAuthBackendNativeFlowTest(AppleAuthMixin, SocialAuthBase):
if subdomain:
params['subdomain'] = subdomain
- url += "&%s" % (urllib.parse.urlencode(params),)
+ url += f"&{urllib.parse.urlencode(params)}"
return url, headers
def social_auth_test(self, account_data_dict: Dict[str, str],