-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Tests
-
None
Fix this synchro test failure caused by the test added in PYTHON-1721:
======================================================================
ERROR: test_survive_cursor_not_found (test.test_grid_file.TestGridFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/shane/git/motor/.tox/synchro/tmp/mongo-python-driver/test/test_grid_file.py", line 629, in test_survive_cursor_not_found
with GridIn(db.fs, chunk_size=chunk_size) as infile:
AttributeError: __exit__
- is caused by
-
PYTHON-1721 GridFS should use a cursor to read all chunks in a file
- Closed