#NEWLINE# def test_error_creating_popen( self ) : #NEWLINE# #INDENT# compiler = WrappedCompiler ( None , self . cfg_manager ) #NEWLINE# compiler . _fail_in_create_popen = True #NEWLINE# self . assertRaises ( GpibErrors . ErrorProgrammingDeviceError , compiler . compile_file , 'whatever.exe' ) #NEWLINE# self . mocker . restore ( )