def test_cancelQueueAfterSynchronousGet(self):
        def _failOnErrback(_):
            self.fail("Unexpected errback call!")

        queue = defer.DeferredQueue()
        d = queue.get()
        d.addErrback(_failOnErrback)
        queue.put(None)
        d.cancel()
When canceling a L{Deferred} from a L{DeferredQueue} that already has
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/OtherPrimitives.test_cancelQueueAfterSynchronousGet