docstr: Tests a function that unexpectedly accepts *args.
docstr_tok: ["Tests","a","function","that","unexpectedly","accepts","*","args","."]
code: def test_unexcpected_starargs(self):
      """
      Tests a function that unexpectedly accepts *args.
      """
  
      def f(*args):
          pass
  
      with self.assertRaises(UnexpectedStarargs):
          verify_callable_argspec(f, expect_starargs=False)
  
imports: from unittest import TestCase
  from zipline.utils.argcheck import verify_callable_argspec, Argument, NoStarargs, UnexpectedStarargs, NoKwargs, UnexpectedKwargs, NotCallable, NotEnoughArguments, TooManyArguments, MismatchedArguments
label_desc: Use image node_id 4 for calling the TestArgCheck obj's underlying member method code with example usage: obj.test_unexcpected_starargs() without return types