docstr: Tests when a function does not have **kwargs and it was expected.
docstr_tok: ["Tests","when","a","function","does","not","have","*","*","kwargs","and","it","was","expected","."]
code: def test_no_kwargs(self):
      """
      Tests when a function does not have **kwargs and it was expected.
      """
  
      def f():
          pass
  
      with self.assertRaises(NoKwargs):
          verify_callable_argspec(f, expect_kwargs=True)
  
imports: from unittest import TestCase
  from catalyst.utils.argcheck import verify_callable_argspec, Argument, NoStarargs, UnexpectedStarargs, NoKwargs, UnexpectedKwargs, NotCallable, NotEnoughArguments, TooManyArguments, MismatchedArguments
label_desc: Use image node_id 6 for calling the TestArgCheck obj's underlying member method code with example usage: obj.test_no_kwargs() without return types