diff --git a/zerver/tests/test_auth_backends.py b/zerver/tests/test_auth_backends.py index 88cf0862c7..d5cd68f821 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],