

def test_any(self):
    res = _([False, False, False, True]).any()
    res.assertTrue(res, 'any was not true')
    res = _([False, False, False, False]).any()
    self.assertFalse(res, 'any was not false')

dataset/ETHPy150Open serkanyersen/underscore.py/tests/test_collections.py TestCollections.test_any/VarMisuse@29/31 `self`->`res`