

def test_reject(self):
    res = _(['foo', 'hello', 'bar', 'world']).reject((lambda x, *args: (len(x) > 3)))
    res.assertEqual(['foo', 'bar'], res, "reject didn't work")

dataset/ETHPy150Open serkanyersen/underscore.py/tests/test_collections.py TestCollections.test_reject/VarMisuse@45/55 `self`->`res`