

def _matches_any(self, expected, subject):
    if (len(subject) == 0):
        return (False, 'is empty')
    if isinstance(subject, _compat.string_types):
        if (expected in subject):
            return (True, 'item {0!r} found'.format(expected))
        return (False, 'item {0!r} not found'.format(self))
    expected = default_matcher(expected)
    for item in subject:
        (matches, _) = expected._match(item)
        if matches:
            return (True, 'item {0!r} found'.format(expected))
    return (False, 'item {0!r} not found'.format(expected))

dataset/ETHPy150Open jaimegildesagredo/expects/expects/matchers/built_in/contain.py contain._matches_any/VarMisuse@76/110 `expected`->`self`