def test_independent(self):
        result = []

        def bad(res):
            result.append(res)
            raise Exception()

        def fired(res):
            result.append(res)

        e = TwistedEvent()

        d = e.wait().addCallback(bad)
        e.wait().addCallback(fired)
        d.addErrback(lambda _ : None)

        e.fire()

        self.assertEqual(result, [True, True])
Test that waiters are independent.
dataset/ETHPy150Open tweetdeck/txAMQP/src/txamqp/test/test_event.py/EventTest.test_independent