

def test__inc(self):
    self.cmp.do.remove()
    self.cmp.do.insert({
        'name': 'bob',
    })
    for i in range(3):
        i.cmp.do.update({
            'name': 'bob',
        }, {
            '$inc': {
                'count': 1,
            },
        })
        self.cmp.compare.find({
            'name': 'bob',
        })

dataset/ETHPy150Open vmalloc/mongomock/tests/test__mongomock.py MongoClientCollectionTest.test__inc/VarMisuse@48/55 `self`->`i`