✏️ Fix typo in assert statement (#419)

This commit is contained in:
Pablo Marti 2019-08-07 21:03:11 +02:00 committed by Sebastián Ramírez
parent b66056aa34
commit 0c55553328
1 changed files with 1 additions and 1 deletions

View File

@ -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