class_docstr: Represents a single parameter to a test case.
  
  For example::
  
      >>> p = param("foo", bar=16)
      >>> p
      param("foo", bar=16)
      >>> p.args
      ('foo', )
      >>> p.kwargs
      {'bar': 16}
  
  Intended to be used as an argument to ``@parameterized``::
  
      @parameterized([
          param("foo", bar=16),
      ])
      def test_stuff(foo, bar=16):
          pass
class_docstr_tok: ["Represents","a","single","parameter","to","a","test","case",".","For","example",":",":",">",">",">","p","=","param","(","``","foo","''",",","bar=16",")",">",">",">","p","param","(","``","foo","''",",","bar=16",")",">",">",">","p.args","(","'foo","'",",",")",">",">",">","p.kwargs","{","'bar","'",":","16","}","Intended","to","be","used","as","an","argument","to","``","@","parameterized","``",":",":","@","parameterized","(","[","param","(","``","foo","''",",","bar=16",")",",","]",")","def","test_stuff","(","foo",",","bar=16",")",":","pass"]
docstr: Creates a ``param`` by explicitly specifying ``args`` and
  ``kwargs``::
  
      >>> param.explicit([1,2,3])
      param(*(1, 2, 3))
      >>> param.explicit(kwargs={"foo": 42})
      param(*(), **{"foo": "42"})
docstr_tok: ["Creates","a","``","param","``","by","explicitly","specifying","``","args","``","and","``","kwargs","``",":",":",">",">",">","param.explicit","(","[","1,2,3","]",")","param","(","*","(","1",",","2",",","3",")",")",">",">",">","param.explicit","(","kwargs=","{","``","foo","''",":","42","}",")","param","(","*","(",")",",","*","*","{","``","foo","''",":","``","42","''","}",")"]
code: def explicit(cls, args=None, kwargs=None):
      """Creates a ``param`` by explicitly specifying ``args`` and
      ``kwargs``::
  
          >>> param.explicit([1,2,3])
          param(*(1, 2, 3))
          >>> param.explicit(kwargs={"foo": 42})
          param(*(), **{"foo": "42"})
      """
      args = args or ()
      kwargs = kwargs or {}
      return cls(*args, **kwargs)
  
imports: import re
  import sys
  import inspect
  import warnings
  from functools import wraps
  from types import MethodType
  from collections import namedtuple
  from unittest import TestCase
label_desc: Use image node_id 2 for calling the param obj's underlying member method code with example usage: obj.explicit(cls, args, kwargs) and returns: cls