def test_partial_by_order(): assert partial_by_order(5, function=operator.add, other=[(1, 20)]) == 25