#NEWLINE# def test_suite( ) : #NEWLINE# #INDENT# suite = unittest . TestSuite ( ) #NEWLINE# for fn in os . listdir ( here ) : #NEWLINE# #INDENT# if ( fn . startswith ( 'test' ) and fn . endswith ( '.py' ) ) : #NEWLINE# #INDENT# modname = ( 'distutils.tests.' + fn [ : ( - 3 ) ] ) #NEWLINE# __import__ ( modname ) #NEWLINE# module = sys . modules [ modname ] #NEWLINE# suite . addTest ( module . test_suite ( ) ) #NEWLINE# #UNINDENT# #UNINDENT# return fn