Skip to content

Commit 1fdf8c6

Browse files
committed
fix test
1 parent 33ff947 commit 1fdf8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/asynchronous/test_transactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ async def test_case_1(self):
586586
# Create a MongoClient running against a configured sharded/replica set/load balanced cluster.
587587
client = async_client_context.client
588588
coll = client[self.db.name].test
589-
coll.delete_many({})
589+
await coll.delete_many({})
590590
# Start a new session on the client.
591591
async with client.start_session() as s:
592592
# Start a transaction on the session.

0 commit comments

Comments
 (0)