Module Expr Str Assign NameStore Str Assign NameStore Dict ImportFrom alias ImportFrom alias ImportFrom alias Import alias identifier TryExcept body ImportFrom alias ImportFrom alias ImportFrom alias alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad Delete SubscriptDel NameLoad Index Str FunctionDef arguments args NameParam defaults body Delete SubscriptDel NameLoad Index Str Delete SubscriptDel NameLoad Index Str Return NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num decorator_list Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad decorator_list Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMult Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str TupleLoad BinOpMult Str AttributeLoad AttributeLoad NameLoad attr attr BinOpMult BinOpMult Num Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMult Num BinOpMult Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A This file contains unittests for the 
IPython.frontend.cocoa.cocoa_frontend module.
 N/A __docformat__ restructuredtext en N/A __test__ N/A twisted.trial unittest twisted.internet.defer succeed IPython.kernel.core.interpreter Interpreter N/A IPython.kernel.engineservice es N/A N/A IPython.frontend.cocoa.cocoa_frontend IPythonCocoaController Foundation NSMakeRect AppKit NSTextView NSScrollView N/A N/A N/A ImportError N/A N/A skip True TestIPythonCocoaControler N/A N/A unittest TestCase N/A N/A Tests for IPythonCocoaController setUp N/A N/A self N/A N/A N/A N/A self controller N/A N/A N/A N/A IPythonCocoaController alloc init N/A N/A self engine N/A N/A es EngineService N/A N/A N/A N/A self engine startService N/A tearDown N/A N/A self N/A N/A N/A N/A self controller None N/A N/A N/A N/A self engine stopService N/A testControllerExecutesCode N/A N/A self N/A N/A N/A code 5+5 N/A expected N/A N/A N/A Interpreter execute code N/A N/A expected N/A number removeNumberAndID N/A N/A result N/A N/A N/A N/A result N/A number N/A N/A result N/A id N/A result N/A N/A d N/A N/A N/A self controller execute code N/A N/A N/A d addCallback removeNumberAndID N/A N/A N/A d addCallback N/A N/A N/A r N/A N/A N/A self assertEquals r expected N/A testControllerMirrorsUserNSWithValuesAsStrings N/A N/A self N/A N/A N/A code userns1=1;userns2=2 testControllerUserNS N/A N/A result N/A N/A N/A N/A N/A self assertEquals N/A N/A N/A self controller userNS N/A userns1 1 N/A N/A N/A self assertEquals N/A N/A N/A self controller userNS N/A userns2 2 N/A N/A N/A N/A N/A N/A N/A self controller execute code addCallback testControllerUserNS N/A testControllerInstantiatesIEngine N/A N/A self N/A N/A N/A N/A N/A self assert_ N/A N/A N/A es IEngineBase providedBy N/A N/A self controller engine N/A testControllerCompletesToken N/A N/A self N/A N/A N/A code longNameVariable=10 testCompletes N/A N/A result N/A N/A N/A N/A N/A self assert_ N/A longNameVariable result N/A testCompleteToken N/A N/A result N/A N/A N/A N/A N/A N/A N/A N/A self controller complete longNa addCallback testCompletes N/A N/A N/A N/A N/A N/A N/A self controller execute code addCallback testCompletes N/A testCurrentIndent N/A N/A self N/A N/A N/A test that current_indent_string returns current indent or None.
        Uses _indent_for_block for direct unit testing.
         N/A N/A N/A self controller tabUsesSpaces True N/A N/A N/A self assert_ N/A N/A N/A N/A self controller _indent_for_block a=3 None N/A N/A N/A self assert_ N/A N/A N/A N/A self controller _indent_for_block None N/A block def test():
    a=3 N/A N/A N/A self assert_ N/A N/A N/A N/A self controller _indent_for_block block N/A N/A N/A self controller tabSpaces N/A block N/A if(True):
%sif(False):
%spass N/A N/A N/A N/A self controller tabSpaces N/A N/A 2 N/A N/A self controller tabSpaces N/A N/A N/A self assert_ N/A N/A N/A N/A self controller _indent_for_block block N/A 2 N/A N/A N/A self controller tabSpaces N/A N/A