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

def test_no_kwargs(self):

    def f():
        pass
    with self.assertRaises(NoKwargs):
        verify_callable_argspec(f, expect_kwargs=True)
