#NEWLINE# def test_fail_on_wrong_kwarg( self ) : #NEWLINE# #INDENT# with self . assertRaises ( ValueError ) : #NEWLINE# #INDENT# filename = 'testsfail.hdf5' #NEWLINE# env = Environment ( filename = make_temp_dir ( self ) , log_stdout = True , log_config = get_log_config ( ) , logger_names = ( 'STDERROR' , 'STDOUT' ) , foo = 'bar' )