def __init__(self, methodName='<STR_LIT>'):
self._testMethodName = methodName<EOL>self._resultForDoCleanups = None<EOL>try:<EOL><INDENT>testMethod = getattr(self, methodName)<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise ValueError("<STR_LIT>" %(self.__class__, methodName))<EOL><DEDENT>self._testMethodDoc = testMethod.__doc__<EOL>self._cleanups = []<EOL>self._type_equality_funcs = _TypeEqualityDict(self)<EOL>self.addTypeEqualityFunc(dict, '<STR_LIT>')<EOL>self.addTypeEqualityFunc(list, '<STR_LIT>')<EOL>self.addTypeEqualityFunc(tuple, '<STR_LIT>')<EOL>self.addTypeEqualityFunc(set, '<STR_LIT>')<EOL>self.addTypeEqualityFunc(frozenset, '<STR_LIT>')<EOL>self.addTypeEqualityFunc(str, '<STR_LIT>')<EOL>
Create an instance of the class that will use the named test
           method when executed. Raises a ValueError if the instance does
           not have a method with the specified name.