Did I find the right examples for you? yes no

All Samples(9)  |  Call(8)  |  Derive(0)  |  Import(1)

src/e/l/eliot-0.3.0/eliot/tests/test_action.py   eliot(Download)
    twisted = None
 
from .._action import (
    Action, _ExecutionContext, currentAction, startTask, startAction,
    )
        C{None}.
        """
        ctx = _ExecutionContext()
        self.assertIs(ctx.current(), None)
 
        L{_ExecutionContext.push} (assuming no pops).
        """
        ctx = _ExecutionContext()
        a = object()
        ctx.push(a)
        call to L{_ExecutionContext.push} (assuming no pops).
        """
        ctx = _ExecutionContext()
        a = object()
        b = object()
    def test_multipleCurrent(self):
        """
        Multiple calls to L{_ExecutionContext.current} return the same result.
        """
        ctx = _ExecutionContext()