Module ImportFrom alias alias Import alias TryExcept body ImportFrom alias alias alias handlers ExceptHandler type NameLoad body ImportFrom alias alias alias ImportFrom alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd Num BinOpMult Num Num Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd Num BinOpMult Num Num Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr TupleLoad TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr TupleLoad TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict decorator_list Call NameLoad Str decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A mock Mock patch N/A sys N/A N/A unittest2 TestCase main skipUnless N/A N/A N/A ImportError N/A unittest TestCase main skipUnless winterm WinColor WinStyle WinTerm WinTermTest N/A TestCase N/A testInit N/A N/A self mockWin32 N/A N/A N/A mockAttr N/A Mock N/A N/A mockAttr wAttributes N/A N/A 7 N/A 6 16 8 N/A N/A N/A mockWin32 GetConsoleScreenBufferInfo return_value mockAttr N/A term N/A WinTerm N/A N/A N/A self assertEqual N/A term _fore 7 N/A N/A N/A self assertEqual N/A term _back 6 N/A N/A N/A self assertEqual N/A term _style 8 N/A N/A patch colorama.winterm.win32 testGetAttrs N/A N/A self N/A N/A N/A term N/A WinTerm N/A N/A term _fore 0 N/A N/A term _back 0 N/A N/A term _style 0 N/A N/A N/A self assertEqual N/A N/A term get_attrs 0 N/A N/A term _fore N/A WinColor YELLOW N/A N/A N/A self assertEqual N/A N/A term get_attrs N/A WinColor YELLOW N/A N/A term _back N/A WinColor MAGENTA N/A N/A N/A self assertEqual N/A N/A term get_attrs N/A N/A WinColor YELLOW N/A N/A WinColor MAGENTA 16 N/A N/A term _style N/A WinStyle BRIGHT N/A N/A N/A self assertEqual N/A N/A term get_attrs N/A N/A N/A WinColor YELLOW N/A N/A WinColor MAGENTA 16 N/A WinStyle BRIGHT N/A N/A skipUnless N/A N/A N/A sys platform startswith win requires Windows testResetAll N/A N/A self mockWin32 N/A N/A N/A mockAttr N/A Mock N/A N/A mockAttr wAttributes N/A N/A 1 N/A 2 16 8 N/A N/A N/A mockWin32 GetConsoleScreenBufferInfo return_value mockAttr N/A term N/A WinTerm N/A N/A term set_console N/A Mock N/A N/A term _fore -1 N/A N/A term _back -1 N/A N/A term _style -1 N/A N/A N/A term reset_all N/A N/A N/A self assertEqual N/A term _fore 1 N/A N/A N/A self assertEqual N/A term _back 2 N/A N/A N/A self assertEqual N/A term _style 8 N/A N/A N/A self assertEqual N/A N/A term set_console called True N/A N/A patch colorama.winterm.win32 testFore N/A N/A self N/A N/A N/A term N/A WinTerm N/A N/A term set_console N/A Mock N/A N/A term _fore 0 N/A N/A N/A term fore 5 N/A N/A N/A self assertEqual N/A term _fore 5 N/A N/A N/A self assertEqual N/A N/A term set_console called True N/A N/A skipUnless N/A N/A N/A sys platform startswith win requires Windows testBack N/A N/A self N/A N/A N/A term N/A WinTerm N/A N/A term set_console N/A Mock N/A N/A term _back 0 N/A N/A N/A term back 5 N/A N/A N/A self assertEqual N/A term _back 5 N/A N/A N/A self assertEqual N/A N/A term set_console called True N/A N/A skipUnless N/A N/A N/A sys platform startswith win requires Windows testStyle N/A N/A self N/A N/A N/A term N/A WinTerm N/A N/A term set_console N/A Mock N/A N/A term _style 0 N/A N/A N/A term style 22 N/A N/A N/A self assertEqual N/A term _style 22 N/A N/A N/A self assertEqual N/A N/A term set_console called True N/A N/A skipUnless N/A N/A N/A sys platform startswith win requires Windows testSetConsole N/A N/A self mockWin32 N/A N/A N/A mockAttr N/A Mock N/A N/A mockAttr wAttributes 0 N/A N/A N/A mockWin32 GetConsoleScreenBufferInfo return_value mockAttr N/A term N/A WinTerm N/A N/A term windll N/A Mock N/A N/A N/A term set_console N/A N/A N/A self assertEqual N/A N/A mockWin32 SetConsoleTextAttribute call_args N/A N/A N/A mockWin32 STDOUT N/A N/A term get_attrs N/A N/A N/A patch colorama.winterm.win32 testSetConsoleOnStderr N/A N/A self mockWin32 N/A N/A N/A mockAttr N/A Mock N/A N/A mockAttr wAttributes 0 N/A N/A N/A mockWin32 GetConsoleScreenBufferInfo return_value mockAttr N/A term N/A WinTerm N/A N/A term windll N/A Mock N/A N/A N/A term set_console on_stderr True N/A N/A N/A self assertEqual N/A N/A mockWin32 SetConsoleTextAttribute call_args N/A N/A N/A mockWin32 STDERR N/A N/A term get_attrs N/A N/A N/A patch colorama.winterm.win32 N/A N/A N/A __name__ __main__ N/A N/A N/A main