

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

dataset/ETHPy150Open serkanyersen/underscore.py/tests/test_collections.py TestCollections.test_all/original