#NEWLINE# def test_outputWithErrorCollected( self ) : #NEWLINE# #INDENT# "\n        If a C{True} value is supplied for the C{errortoo} parameter to\n        L{getProcessOutput}, the returned L{Deferred} fires with the child's\n        stderr output as well as its stdout output.\n        " #NEWLINE# scriptFile = self . makeSourceFile ( [ 'import sys' , 'sys.stdout.write("foo")' , 'sys.stdout.flush()' , 'sys.stderr.write("foo")' , 'sys.stderr.flush()' ] ) #NEWLINE# d = utils . getProcessOutput ( self . exe , [ '-u' , scriptFile ] , errortoo = True ) #NEWLINE# return d . addCallback ( d . assertEqual , 'foofoo' )