Skip to content

Commit 18a2a94

Browse files
committed
restore py39 compat
1 parent b42633b commit 18a2a94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asynchronous/test_grid_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
)
4848
from gridfs.errors import NoFile
4949
from pymongo import AsyncMongoClient
50-
from pymongo.asynchronous.helpers import anext
50+
from pymongo.asynchronous.helpers import aiter, anext
5151
from pymongo.errors import ConfigurationError, ServerSelectionTimeoutError
5252
from pymongo.message import _CursorAddress
5353

test/test_grid_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
from pymongo import MongoClient
5050
from pymongo.errors import ConfigurationError, ServerSelectionTimeoutError
5151
from pymongo.message import _CursorAddress
52-
from pymongo.synchronous.helpers import next
52+
from pymongo.synchronous.helpers import iter, next
5353

5454
_IS_SYNC = True
5555

0 commit comments

Comments
 (0)