#NEWLINE# def test_loadTestsFromName__callable__TestCase_instance( self ) : #NEWLINE# #INDENT# m = types . ModuleType ( 'm' ) #NEWLINE# testcase_1 = unittest . FunctionTestCase ( ( lambda : None ) ) #NEWLINE# def return_TestCase( ) : #NEWLINE# #INDENT# return testcase_1 #NEWLINE# #UNINDENT# m . return_TestCase = return_TestCase #NEWLINE# loader = unittest . TestLoader ( ) #NEWLINE# suite = loader . loadTestsFromName ( 'return_TestCase' , m ) #NEWLINE# self . assertIsInstance ( suite , loader . suiteClass ) #NEWLINE# self . assertEqual ( list ( suite ) , [ testcase_1 ] )