'Tests the any_default option.'

def test_any_default(self):

    def f(a=1):
        pass
    def g(a=2):
        pass
    def h(a):
        pass
    expected_args = [Argument('a', Argument.any_default)]
    verify_callable_argspec(f, expected_args)
    verify_callable_argspec(g, expected_args)
    with self.assertRaises(MismatchedArguments):
        verify_callable_argspec(h, expected_args)
