Skip to content

Commit 469013b

Browse files
committed
add missing await
1 parent b021ede commit 469013b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/asynchronous/test_csot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ async def test_change_stream_can_resume_after_timeouts(self):
103103
await stream.try_next()
104104
await coll.insert_one({})
105105
with pymongo.timeout(10):
106-
self.assertTrue(stream.next())
106+
self.assertTrue(await stream.next())
107107
self.assertTrue(stream.alive)
108108
# Timeout applies to entire next() call, not only individual commands.
109109
with pymongo.timeout(0.5):

0 commit comments

Comments
 (0)