From: Pablo Marti Date: Wed, 7 Aug 2019 19:03:11 +0000 (+0200) Subject: :pencil2: Fix typo in assert statement (#419) X-Git-Tag: 0.35.0~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c5555332862a6927427ff3b4d51148ce3cc3ce9;p=thirdparty%2Ffastapi%2Ffastapi.git :pencil2: Fix typo in assert statement (#419) --- diff --git a/fastapi/routing.py b/fastapi/routing.py index 8eb6f47fa5..304b2a1161 100644 --- a/fastapi/routing.py +++ b/fastapi/routing.py @@ -147,7 +147,7 @@ def get_websocket_app( if errors: await websocket.close(code=WS_1008_POLICY_VIOLATION) raise WebSocketRequestValidationError(errors) - assert dependant.call is not None, "dependant.call must me a function" + assert dependant.call is not None, "dependant.call must be a function" await dependant.call(**values) return app