Example #1
0
def pick_curry_test():
    pickBD = pick(["b", "d"])
    assert_dicts_equal(pickBD(test_dict), expected_dict)
Example #2
0
def pick_nocurry_test():
    assert_dicts_equal(pick(["b", "d"], test_dict), expected_dict)
Example #3
0
def pick_curry_test():
    pickBD = pick(["b", "d"])
    assert_dicts_equal(pickBD(test_dict), expected_dict)
Example #4
0
def pick_nocurry_test():
    assert_dicts_equal(pick(["b", "d"], test_dict), expected_dict)
Example #5
0
def map_dict_test():
    assert_dicts_equal(map_dict(inc, test_dict), expected_dict)