class_docstr: Callable and iterable class for producing new test cases.
class_docstr_tok: ["Callable","and","iterable","class","for","producing","new","test","cases","."]
code: def __iter__(self):
      test_method = self._test_method
      naming_type = self._naming_type
  
      def MakeBoundParamTest(testcase_params):
          @functools.wraps(test_method)
          def BoundParamTest(self):
              if isinstance(testcase_params, collections_abc.Mapping):
                  test_method(self, **testcase_params)
              elif _NonStringIterable(testcase_params):
                  test_method(self, *testcase_params)
              else:
                  test_method(self, testcase_params)
  
          if naming_type is _FIRST_ARG:
              # Signal the metaclass that the name of the test function is unique
              # and descriptive.
              BoundParamTest.__x_use_name__ = True
              BoundParamTest.__name__ += str(testcase_params[0])
              testcase_params = testcase_params[1:]
          elif naming_type is _ARGUMENT_REPR:
              # __x_extra_id__ is used to pass naming information to the __new__
              # method of TestGeneratorMetaclass.
              # The metaclass will make sure to create a unique, but nondescriptive
              # name for this test.
              BoundParamTest.__x_extra_id__ = "(%s)" % (
                  _FormatParameterList(testcase_params),
              )
          else:
              raise RuntimeError(
                  "%s is not a valid naming type." % (naming_type,)
              )
  
          BoundParamTest.__doc__ = "%s(%s)" % (
              BoundParamTest.__name__,
              _FormatParameterList(testcase_params),
          )
          if test_method.__doc__:
              BoundParamTest.__doc__ += "\n%s" % (test_method.__doc__,)
          return BoundParamTest
  
      return (MakeBoundParamTest(c) for c in self.testcases)
  
imports: import functools
  import re
  import types
  import uuid
  import six
label_desc: Use image node_id 3 for calling the _ParameterizedTestIter obj's underlying member method code with example usage: obj.__iter__() and returns: unknown, BoundParamTest