Skip to content

Commit 4aeece0

Browse files
committed
Fix coverage and formatting
1 parent 04c4dd1 commit 4aeece0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/execution/test_stream.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,11 +1187,10 @@ async def friend_list(_info):
11871187
}
11881188

11891189
@pytest.mark.asyncio()
1190-
@pytest.mark.filterwarnings("ignore:.* was never awaited:RuntimeWarning")
11911190
async def filters_payloads_that_are_nulled_by_a_later_synchronous_error():
11921191
document = parse(
11931192
"""
1194-
query {
1193+
query {
11951194
nestedObject {
11961195
nestedFriendList @stream(initialCount: 0) {
11971196
name
@@ -1203,8 +1202,8 @@ async def filters_payloads_that_are_nulled_by_a_later_synchronous_error():
12031202
)
12041203

12051204
async def friend_list(_info):
1206-
await sleep(0)
1207-
yield friends[0]
1205+
await sleep(0) # pragma: no cover
1206+
yield friends[0] # pragma: no cover
12081207

12091208
result = await complete(
12101209
document,

0 commit comments

Comments
 (0)