'When the _errFlag is set to L{StandardErrorBehavior.DROP},
L{endpoints._WrapIProtocol} ignores stderr.'

def test_stderrSkip(self):

    self.ep._errFlag = StandardErrorBehavior.DROP
    d = self.ep.connect(self.factory)
    self.successResultOf(d)
    wpp = self.reactor.processProtocol
    log.addObserver(self._stdLog)
    self.addCleanup(log.removeObserver, self._stdLog)
    wpp.childDataReceived(2, 'stderr2')
    self.assertIsNone(self.eventLog)
