Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-403

Fix test.test_grid_file.TestGridFile.test_survive_cursor_not_found

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.1
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      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__
      

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: