From a05ef19530da788a9a9dc659ac7e9a0071d2c4b1 Mon Sep 17 00:00:00 2001 From: Charles Beauville Date: Wed, 17 Jan 2024 18:22:07 +0100 Subject: [PATCH] Rephrase docstrings to fix error --- src/py/flwr/server/server_test.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/py/flwr/server/server_test.py b/src/py/flwr/server/server_test.py index 416403d6e56f..9b5c03aeeaf9 100644 --- a/src/py/flwr/server/server_test.py +++ b/src/py/flwr/server/server_test.py @@ -47,15 +47,13 @@ class SuccessClient(ClientProxy): def get_properties( self, ins: GetPropertiesIns, timeout: Optional[float] ) -> GetPropertiesRes: - """Raise a NotImplementedError because this method is not expected to be - called.""" + """Raise an error because this method is not expected to be called.""" raise NotImplementedError() def get_parameters( self, ins: GetParametersIns, timeout: Optional[float] ) -> GetParametersRes: - """Raise a NotImplementedError because this method is not expected to be - called.""" + """Raise a error because this method is not expected to be called.""" raise NotImplementedError() def fit(self, ins: FitIns, timeout: Optional[float]) -> FitRes: