Skip to content

Commit 7bba001

Browse files
committed
Drop the completion part
1 parent a3a1022 commit 7bba001

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

test/test_python_lsp.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -131,30 +131,13 @@ async def get_json_reply():
131131
},
132132
},
133133
}
134-
completion_request = {
135-
"jsonrpc": "2.0",
136-
"id": 4 * (idx + 3 + i),
137-
"method": "textDocument/completion",
138-
"params": {
139-
"textDocument": {
140-
"uri": "test.py",
141-
},
142-
"position": {
143-
"line": 3,
144-
"character": 2,
145-
},
146-
},
147-
}
148134
requests.append(send_request(hover_request))
149-
requests.append(send_request(completion_request))
150135
# send many requests in parallel
151136
await asyncio.gather(*requests)
152137
# collect replies
153138
for i in range(NUM_REQUESTS):
154139
hover = await get_json_reply()
155140
assert hover
156-
completion = await get_json_reply()
157-
assert completion
158141
except (json.JSONDecodeError, asyncio.TimeoutError) as e:
159142
return e
160143
return None

0 commit comments

Comments
 (0)