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>" %<EOL>(self.__class__, methodName))<EOL><DEDENT>self._cleanups = []<EOL>self._type_equality_funcs = {}<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>try:<EOL><INDENT>self.addTypeEqualityFunc(str, '<STR_LIT>')<EOL><DEDENT>except NameError:<EOL><INDENT>pass<EOL><DEDENT>
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.