def test_cancelQueueAfterGet(self):
        queue = defer.DeferredQueue()
        d = queue.get()
        self.assertFailure(d, defer.CancelledError)
        d.cancel()
        def cb(ignore):
            # If the deferred is still linked with the deferred queue, it will
            # fail with an AlreadyCalledError
            queue.put(None)
            return queue.get().addCallback(self.assertIdentical, None)
        return d.addCallback(cb)
Process indentation spaces in a block scalar.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_defer.py/OtherPrimitives.test_cancelQueueAfterGet--crossover with--dataset/ETHPy150Open adieu/allbuttonspressed/pygments/lexers/text.py/YamlLexer.parse_block_scalar_indent