code: def NamedParameters(*testcases):
      """A decorator for creating parameterized tests.
  
      See the module docstring for a usage example. The first element of
      each parameter tuple should be a string and will be appended to the
      name of the test method.
  
      Args:
        *testcases: Parameters for the decorated method, either a single
                    iterable, or a list of tuples.
  
      Returns:
         A test generator to be handled by TestGeneratorMetaclass.
      """
      return _ParameterDecorator(_FIRST_ARG, testcases)
  
imports: import collections
  import functools
  import re
  import types
  import uuid
  import six
label_desc: Use image node_id 9 for calling a global function with example usage: NamedParameters() and returns: _ParameterDecorator