'Similar to L{test_cancelConnectUNIXTimeout}, but for the case where the
connection attempt fails.'

def test_cancelConnectUNIXFailedTimeout(self):

    def connect(reactor, cc):
        d = cc.connectUNIX('/foo/bar')
        (address, factory, timeout, bindAddress) = reactor.unixClients.pop()
        return (d, factory)
    return self._cancelConnectFailedTimeoutTest(connect)
