Skip to content

Commit fb5b9d4

Browse files
committed
fix test
1 parent f0e3e22 commit fb5b9d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/asynchronous/test_cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ async def test_explain_with_read_concern(self):
366366
async def test_explain_csot(self):
367367
# Create a MongoClient with command monitoring enabled (referred to as client).
368368
listener = AllowListEventListener("explain")
369-
client = await self.rs_or_single_client(event_listeners=[listener])
369+
client = await self.async_rs_or_single_client(event_listeners=[listener])
370370

371371
# Create a collection, referred to as collection, with the namespace explain-test.collection.
372372
collection = client["explain-test"]["collection"]

0 commit comments

Comments
 (0)