def make_test_program_class(extra_tests):
 class PystacheTestProgram(TestProgram, ):
  '\n        Instantiating an instance of this class runs all tests.\n\n        '
  def createTests(self):
   '\n            Load tests and set self.test to a unittest.TestSuite instance\n\n            Compare--\n\n              http://docs.python.org/library/unittest.html#unittest.TestSuite\n\n            '
   super(PystacheTestProgram, self).createTests()
   self.test.addTests(extra_tests)
 return PystacheTestProgram

def make_test_program_class ( extra_tests ) : class PystacheTestProgram ( TestProgram , ) : def createTests ( self ) : super ( PystacheTestProgram , self ) . createTests ( ) self . test . addTests ( extra_tests ) return PystacheTestProgram
return a subclass of unittest .