jedi/tests: Fix order for Poll/poll.

Poll needs to come first for correct typing of poll.
This commit is contained in:
Laurens Valk
2022-12-01 15:06:31 +01:00
parent 3c0aaea207
commit 87c2802b17
+1 -1
View File
@@ -238,8 +238,8 @@ def test_from_uselect_import():
code = "from uselect import "
completions: list[CompletionItem] = json.loads(complete(code, 1, len(code) + 1))
assert [c["insertText"] for c in completions] == [
"poll",
"Poll",
"poll",
"POLLERR",
"POLLHUP",
"POLLIN",