#NEWLINE# def test_ensure_filename( self ) : #NEWLINE# #INDENT# cmd = self . cmd #NEWLINE# cmd . option1 = __file__ #NEWLINE# cmd . ensure_filename ( 'option1' ) #NEWLINE# cmd . option2 = 'xxx' #NEWLINE# self . assertRaises ( DistutilsOptionError , cmd . ensure_filename , 'option2' )