Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/b/a/baam-HEAD/tests/test_baam.py   baam(Download)
def test_map_lists_args():
    def f(x,y):
        return [(2*x+1,y),(2*x,y)]
    #print  baam.map_lists_args(f,([0,3,7],10))
    yield assert_equal, baam.map_lists_args(f,([0,3,7],10)), [(6, 10), (7, 10), (14, 10), (15, 10), (1, 10), (0, 10)]