#NEWLINE# def test_makepath( self ) : #NEWLINE# #INDENT# path_parts = ( 'Beginning' , 'End' ) #NEWLINE# original_dir = os . path . join ( * path_parts ) #NEWLINE# ( abs_dir , norm_dir ) = site . makepath ( * path_parts ) #NEWLINE# self . assertEqual ( os . path . abspath ( original_dir ) , abs_dir ) #NEWLINE# if ( original_dir == os . path . normcase ( original_dir ) ) : #NEWLINE# #INDENT# self . assertEqual ( abs_dir , norm_dir ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertEqual ( os . path . normcase ( abs_dir ) , norm_dir )