

def test__regex_match_non_string(self):
    id = ObjectId()
    self.cmp.do.insert({
        '_id': id,
        'test': 1,
    })
    id.cmp.compare.find({
        '_id': id,
        'test': {
            '$regex': '1',
        },
    })

dataset/ETHPy150Open vmalloc/mongomock/tests/test__mongomock.py MongoClientCollectionTest.test__regex_match_non_string/VarMisuse@39/49 `self`->`id`