Module Expr Str ImportFrom alias alias Import alias ImportFrom alias ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice FunctionDef arguments args defaults body Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Return NameLoad decorator_list decorator_list
N/A N/A 
Facilities for helping test code which interacts with Python's module system
to load code.
 __future__ division absolute_import N/A sys twisted.python.filepath FilePath TwistedModulesMixin N/A N/A N/A 
    A mixin for C{twisted.trial.unittest.SynchronousTestCase} providing useful
    methods for manipulating Python's module system.
     replaceSysPath N/A N/A self sysPath N/A N/A N/A 
        Replace sys.path, for the duration of the test, with the given value.
         N/A originalSysPath N/A N/A sys path N/A cleanUpSysPath N/A N/A N/A N/A N/A N/A N/A sys path N/A originalSysPath N/A N/A N/A N/A self addCleanup cleanUpSysPath N/A N/A N/A sys path N/A sysPath N/A replaceSysModules N/A N/A self sysModules N/A N/A N/A 
        Replace sys.modules, for the duration of the test, with the given value.
         N/A originalSysModules N/A N/A N/A sys modules copy cleanUpSysModules N/A N/A N/A N/A N/A N/A N/A N/A sys modules clear N/A N/A N/A N/A sys modules update originalSysModules N/A N/A N/A N/A self addCleanup cleanUpSysModules N/A N/A N/A N/A sys modules clear N/A N/A N/A N/A sys modules update sysModules N/A pathEntryWithOnePackage N/A N/A self pkgname N/A test_package N/A N/A 
        Generate a L{FilePath} with one package, named C{pkgname}, on it, and
        return the L{FilePath} of the path entry.
         N/A entry N/A FilePath N/A N/A self mktemp N/A pkg N/A N/A entry child test_package N/A N/A N/A pkg makedirs N/A N/A N/A N/A N/A pkg child __init__.py setContent N/A entry N/A N/A