def test_argument_named_default() -> None:
    'Test when an argument is named ``default``.\n\n    This collides with a positional only argument named ``default`` in\n    the ``argcomb`` signature, but as this is positional only this\n    should not matter.\n    '

    @argcomb(default='a')
    def f(default: Any=None, a: Any=None) -> None:
        ...
    f(a=1)
    f(default=1, a=1)
    with pytest.raises(InvalidArgumentCombination):
        f(default=1)
Test when an argument is named ``default``.

This collides with a positional only argument named ``default`` in
the ``argcomb`` signature, but as this is positional only this
should not matter.
def test_argument_named_default() -> None:
    'Test when an argument is named ``default``.\n\n    This collides with a positional only argument named ``default`` in\n    the ``argcomb`` signature, but as this is positional only this\n    should not matter.\n    '

    @argcomb(default='a')
    def f(default: Any=None, a: Any=None) -> None:
        ...
    f(a=1)
    f(default=1, a=1)
    with pytest.raises(InvalidArgumentCombination):
        f(default=1)