#NEWLINE# def test_bom_rejection( self ) : #NEWLINE# #INDENT# os . chdir ( self . test_dir ) #NEWLINE# out = StringIO ( ) #NEWLINE# self . assertRaises ( CommandError , compile_messages , out , locale = LOCALE ) #NEWLINE# self . assertFalse ( os . path . exists ( self . MO_FILE ) )