Skip to content

Commit 7b9ded2

Browse files
committed
test_list: remove unneeded async
Replicates graphql/graphql-js@abcb3b3
1 parent a75005a commit 7b9ded2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/execution/test_lists.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from pytest import mark # type: ignore
22

3-
from graphql.execution import execute, ExecutionResult
3+
from graphql.execution import execute, execute_sync, ExecutionResult
44
from graphql.language import parse
55
from graphql.utilities import build_schema
66

@@ -16,7 +16,7 @@ async def get_async(value):
1616

1717
def describe_execute_accepts_any_iterable_as_list_value():
1818
def _complete(list_field):
19-
return execute(
19+
return execute_sync(
2020
build_schema("type Query { listField: [String] }"),
2121
parse("{ listField }"),
2222
Data(list_field),

0 commit comments

Comments
 (0)