#NEWLINE# def test_get_code( self ) : #NEWLINE# #INDENT# filename = __import__ ( 'distutils' ) . __file__ . replace ( '.pyc' , '.py' ) #NEWLINE# with open ( f ) as f : #NEWLINE# #INDENT# expected_code = compile ( f . read ( ) , filename , 'exec' ) #NEWLINE# #UNINDENT# self . assertEqual ( expected_code , self . hook . get_code ( 'distutils' ) )