'Tests when a function does not have *args and it was expected.'

def test_no_starargs(self):

    def f(a):
        pass
    with self.assertRaises(NoStarargs):
        verify_callable_argspec(f, expect_starargs=True)
