def test_not() -> None:
    'Test ``Not`` condition. '

    @argcomb(Not('a'))
    def f(a: Any=None) -> None:
        ...
    f()
    with pytest.raises(InvalidArgumentCombination):
        f(a=1)
Test ``Not`` condition.
def test_not() -> None:
    ' '

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