'Fake C{signal.signal} for not installing the handlers but saving them
in C{self.signals}.'

def setUp(self):

    self.signals = []
    def fakeSignal(sig, f):
        self.signals.append((sig, f))
    self.patch(signal, 'signal', fakeSignal)
