'Tests a function that unexpectedly accepts *args.'

def test_unexcpected_starargs(self):

    def f(*args):
        pass
    with self.assertRaises(UnexpectedStarargs):
        verify_callable_argspec(f, expect_starargs=False)
