diff --git a/py/selenium/webdriver/common/fedcm/account.py b/py/selenium/webdriver/common/fedcm/account.py index 9cb43ea72fd33..7258ea677426b 100644 --- a/py/selenium/webdriver/common/fedcm/account.py +++ b/py/selenium/webdriver/common/fedcm/account.py @@ -32,7 +32,7 @@ def __get__(self, obj, cls) -> Optional[str]: return obj._account_data.get(self.name) def __set__(self, obj, value) -> None: - raise AttributeError(f"Cannot set readonly attribute") + raise AttributeError("Cannot set readonly attribute") class Account: