Skip to content

Commit bb1b50f

Browse files
authored
Fix mypy on test_websockets (#1889)
1 parent 4a5f3dd commit bb1b50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/protocols/test_websocket.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ async def websocket_connect(self, message):
11251125
await self.send({"type": "websocket.accept"})
11261126

11271127
async def open_connection(url):
1128-
async with websockets.connect(url) as websocket:
1128+
async with websockets.client.connect(url) as websocket:
11291129
return websocket.open
11301130

11311131
async def app_wrapper(scope, receive, send):

0 commit comments

Comments
 (0)