

def test_select(self, space):
    w_res = space.execute('\n        return (2..4).select { |x| x == 2 }\n        ')
    assert (self.unwrap(space, w_res) == [2])

dataset/ETHPy150Open topazproject/topaz/tests/modules/test_enumerable.py TestEnumberable.test_select/original