Skip to content

Commit 3891326

Browse files
committed
Fix anext type error
1 parent 33910a0 commit 3891326

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/asynchronous/test_collation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
from test.utils import EventListener
2222
from typing import Any
2323

24+
from pymongo.asynchronous.helpers import anext
2425
from pymongo.collation import (
2526
Collation,
2627
CollationAlternate,

test/test_collation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
UpdateMany,
3838
UpdateOne,
3939
)
40+
from pymongo.synchronous.helpers import next
4041
from pymongo.write_concern import WriteConcern
4142

4243
_IS_SYNC = True

0 commit comments

Comments
 (0)