Skip to content

Commit 78c8550

Browse files
committed
Use helper anext
1 parent 20e80c2 commit 78c8550

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/asynchronous/test_custom_types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
from bson.int64 import Int64
5353
from bson.raw_bson import RawBSONDocument
5454
from pymongo.asynchronous.collection import ReturnDocument
55+
from pymongo.asynchronous.helpers import anext
5556
from pymongo.errors import DuplicateKeyError
5657
from pymongo.message import _CursorAddress
5758

test/test_custom_types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
from pymongo.errors import DuplicateKeyError
5555
from pymongo.message import _CursorAddress
5656
from pymongo.synchronous.collection import ReturnDocument
57+
from pymongo.synchronous.helpers import next
5758

5859
_IS_SYNC = True
5960

0 commit comments

Comments
 (0)