Module Expr Str ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad Assign NameStore ListLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Num decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list decorator_list
N/A N/A 
Tests for L{twisted._threads._memory}.
 __future__ absolute_import division print_function zope.interface.verify verifyObject twisted.trial.unittest SynchronousTestCase N/A AlreadyQuit IWorker createMemoryWorker MemoryWorkerTests N/A SynchronousTestCase N/A N/A 
    Tests for L{MemoryWorker}.
     test_createWorkerAndPerform N/A N/A self N/A N/A N/A 
        L{createMemoryWorker} creates an L{IWorker} and a callable that can
        perform work on it.  The performer returns C{True} if it accomplished
        useful work.
         N/A N/A worker performer N/A createMemoryWorker N/A N/A verifyObject IWorker worker N/A done N/A N/A N/A N/A worker do N/A N/A N/A N/A N/A N/A done append 3 N/A N/A N/A worker do N/A N/A N/A N/A N/A N/A done append 4 N/A N/A N/A self assertEqual done N/A N/A N/A N/A self assertEqual N/A performer True N/A N/A N/A self assertEqual done N/A 3 N/A N/A N/A self assertEqual N/A performer True N/A N/A N/A self assertEqual done N/A 3 4 N/A test_quitQuits N/A N/A self N/A N/A N/A 
        Calling C{quit} on the worker returned by L{createMemoryWorker} causes
        its C{do} and C{quit} methods to raise L{AlreadyQuit}; its C{perform}
        callable will start raising L{AlreadyQuit} when the work already
        provided to C{do} has been exhausted.
         N/A N/A worker performer N/A createMemoryWorker N/A done N/A moreWork N/A N/A N/A N/A N/A N/A N/A done append 7 N/A N/A N/A N/A worker do moreWork N/A N/A N/A worker quit N/A N/A N/A self assertRaises AlreadyQuit N/A worker do moreWork N/A N/A N/A self assertRaises AlreadyQuit N/A worker quit N/A N/A performer N/A N/A N/A self assertEqual done N/A 7 N/A N/A N/A self assertEqual N/A performer False N/A test_performWhenNothingToDoYet N/A N/A self N/A N/A N/A 
        The C{perform} callable returned by L{createMemoryWorker} will return
        no result when there's no work to do yet.  Since there is no work to
        do, the performer returns C{False}.
         N/A N/A worker performer N/A createMemoryWorker N/A N/A N/A self assertEqual N/A performer False N/A N/A