def __length(self, collection):
        try:
            return len(collection)
        except __HOLE__:
            return sum(1 for i in collection)
dataset/ETHPy150Open jaimegildesagredo/expects/expects/matchers/built_in/have_len.py/have_length.__length