@gen_test
    def test_fetch_next_delete(self):
        if sys.version in 'PyPy':
            raise SkipTest('PyPy')

        client, server = self.client_server(auto_ismaster={'ismaster': True})
        cursor = client.test.collection.find()

        # With Tornado, simply accessing fetch_next starts the fetch.
        cursor.fetch_next
        request = yield self.run_thread(server.receives, OpQuery)
        request.replies({'_id': 1}, cursor_id=123)

        # Decref'ing the cursor eventually closes it on the server.
        del cursor
        yield self.run_thread(server.receives,
                              OpKillCursors(cursor_ids=[123]))
dataset/ETHPy150Open mongodb/motor/test/tornado_tests/test_motor_cursor.py/MotorCursorTest.test_fetch_next_delete/swapped operands of `in`