def test_call_with_supported_arguments():

    def foo(a, b):
        return f'{a}+{b}'
    assert ('1+2' == utils.call_with_supported_arguments(foo, a=1, b=2))
    assert ('1+2' == utils.call_with_supported_arguments(foo, a=1, b=2, c=3))
    with pytest.raises(TypeError):
        utils.call_with_supported_arguments(foo, a=1)
def test_call_with_supported_arguments():

    def foo(a, b):
        return f'{a}+{b}'
    assert ('1+2' == utils.call_with_supported_arguments(foo, a=1, b=2))
    assert ('1+2' == utils.call_with_supported_arguments(foo, a=1, b=2, c=3))
    with pytest.raises(TypeError):
        utils.call_with_supported_arguments(foo, a=1)