Module Import alias Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num For NameStore Call NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Call NameLoad NameLoad Assign SubscriptStore NameLoad Index BinOpAdd NameLoad Num Call NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr CompareIn Num NameLoad Expr Call AttributeLoad NameLoad attr CompareIn BinOpAdd NameLoad Num NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Raise Call NameLoad Str decorator_list Call NameLoad NameLoad NameLoad keyword Str TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A sys N/A unittest N/A N/A N/A N/A sys path append ../ unstdlib.standard.collections_ RecentlyUsedContainer unstdlib.standard.exception_ convert_exception TestRecentlyUsedContainer N/A N/A unittest TestCase N/A test_maxsize N/A N/A self N/A N/A N/A d N/A RecentlyUsedContainer 5 N/A i N/A range 5 N/A N/A N/A d N/A i N/A str i N/A N/A N/A self assertEqual N/A len d 5 N/A i N/A range 5 N/A N/A N/A N/A self assertEqual N/A d N/A i N/A str i N/A N/A d N/A N/A i 1 N/A str N/A i 1 N/A N/A N/A self assertEqual N/A len d 5 N/A N/A N/A self assertFalse N/A 0 d N/A N/A N/A self assertTrue N/A N/A i 1 d N/A N/A TestException_ N/A N/A unittest TestCase N/A test_convert_exception N/A N/A self N/A N/A FooError N/A Exception N/A N/A N/A BarError N/A Exception N/A __init__ N/A N/A self message N/A N/A N/A N/A self message message N/A N/A throw_foo N/A N/A N/A N/A N/A N/A FooError foo N/A N/A convert_exception FooError BarError message bar N/A N/A N/A N/A throw_foo N/A N/A N/A BarError N/A e N/A N/A N/A N/A self assertEqual N/A e message bar N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main