Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num keyword Num FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Return NameLoad TryExcept body Import alias handlers ExceptHandler type NameLoad body Return NameLoad orelse TryExcept body TryExcept body Return CompareGt Call AttributeLoad NameLoad attr Str Num handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return CompareGt Call AttributeLoad NameLoad attr Str Num handlers ExceptHandler body Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias Assign TupleStore NameStore NameStore NameStore NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad BinOpBitOr NameLoad NameLoad BinOpBitOr NameLoad NameLoad BinOpBitOr NameLoad NameLoad BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad BinOpBitOr BinOpBitOr BinOpBitOr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body TryExcept body Import alias Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad Import alias TryExcept body Expr Call AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad orelse Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For NameStore ListLoad NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Break Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str NameLoad Assign TupleStore NameStore NameStore NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad body If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If AttributeLoad NameLoad attr body Assign NameStore ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If AttributeLoad NameLoad attr body If CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Return UnaryOpNot Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A gettext N/A os N/A unittest N/A six N/A sys N/A types N/A logging nose result nose core nose config _AnsiColorizer N/A object N/A N/A 
    A colorizer is an object that loosely wraps around a stream, allowing
    callers to write text to the stream in a particular color.

    Colorizer classes must implement C{supported()} and C{write(text, color)}.
     N/A _colors N/A dict black 30 red 31 green 32 yellow 33 blue 34 magenta 35 cyan 36 white 37 __init__ N/A N/A self stream N/A N/A N/A N/A self stream stream N/A supported N/A N/A cls stream N/A N/A sys stdout N/A N/A 
        A class method that returns True if the current platform supports
        coloring terminal output using this method. Returns False otherwise.
         N/A N/A N/A N/A stream isatty N/A N/A False N/A N/A N/A curses N/A N/A N/A ImportError N/A N/A False N/A N/A N/A N/A N/A N/A N/A N/A N/A curses tigetnum colors 2 N/A N/A N/A N/A curses error N/A N/A N/A N/A curses setupterm N/A N/A N/A N/A curses tigetnum colors 2 N/A N/A N/A N/A False N/A N/A supported N/A classmethod supported write N/A N/A self text color N/A N/A N/A 
        Write the given text to the stream in the given color.

        @param text: Text to be written to the stream.

        @param color: A string label for a color. e.g. 'red', 'white'.
         N/A color N/A N/A self _colors N/A color N/A N/A N/A N/A self stream write N/A [%s;1m%s[0m N/A color text N/A N/A _Win32Colorizer N/A object N/A N/A 
    See _AnsiColorizer docstring.
     __init__ N/A N/A self stream N/A N/A win32console GetStdHandle STD_OUT_HANDLE win32console FOREGROUND_RED FOREGROUND_BLUE win32console FOREGROUND_GREEN FOREGROUND_INTENSITY N/A N/A red green blue bold N/A FOREGROUND_RED FOREGROUND_GREEN FOREGROUND_BLUE FOREGROUND_INTENSITY N/A N/A self stream stream N/A N/A self screenBuffer N/A GetStdHandle STD_OUT_HANDLE N/A N/A self _colors N/A normal red green blue yellow magenta cyan white N/A N/A red green blue N/A red bold N/A green bold N/A blue bold N/A N/A red green bold N/A N/A red blue bold N/A N/A green blue bold N/A N/A N/A red green blue bold N/A supported N/A N/A cls stream N/A N/A sys stdout N/A N/A N/A N/A win32console N/A screenBuffer N/A N/A win32console GetStdHandle N/A win32console STD_OUT_HANDLE N/A N/A N/A ImportError N/A N/A False N/A pywintypes N/A N/A N/A N/A N/A screenBuffer SetConsoleTextAttribute N/A N/A N/A win32console FOREGROUND_RED N/A win32console FOREGROUND_GREEN N/A win32console FOREGROUND_BLUE N/A N/A N/A N/A pywintypes error N/A N/A False N/A N/A True N/A N/A supported N/A classmethod supported write N/A N/A self text color N/A N/A N/A color N/A N/A self _colors N/A color N/A N/A N/A N/A self screenBuffer SetConsoleTextAttribute color N/A N/A N/A N/A self stream write text N/A N/A N/A N/A self screenBuffer SetConsoleTextAttribute N/A N/A self _colors N/A normal N/A N/A _NullColorizer N/A object N/A N/A 
    See _AnsiColorizer docstring.
     __init__ N/A N/A self stream N/A N/A N/A N/A self stream stream N/A supported N/A N/A cls stream N/A N/A sys stdout N/A N/A True N/A N/A supported N/A classmethod supported write N/A N/A self text color N/A N/A N/A N/A N/A N/A self stream write text N/A N/A RyuTestResult N/A N/A result TextTestResult N/A __init__ N/A N/A self N/A args kw N/A N/A N/A N/A N/A result TextTestResult __init__ self args kw N/A N/A self _last_case None N/A N/A self colorizer None N/A stdout N/A sys __stdout__ N/A N/A sys stdout N/A sys __stdout__ N/A colorizer N/A _Win32Colorizer _AnsiColorizer _NullColorizer N/A N/A N/A N/A colorizer supported N/A N/A N/A self colorizer N/A colorizer N/A self stream N/A N/A N/A sys stdout stdout N/A getDescription N/A N/A self test N/A N/A N/A N/A str test N/A addSuccess N/A N/A self test N/A N/A N/A N/A N/A N/A unittest TestResult addSuccess self test N/A N/A self showAll N/A N/A N/A N/A N/A self colorizer write OK green N/A N/A N/A N/A self stream writeln N/A N/A N/A self dots N/A N/A N/A N/A N/A self stream write . N/A N/A N/A N/A self stream flush N/A addFailure N/A N/A self test err N/A N/A N/A N/A N/A N/A unittest TestResult addFailure self test err N/A N/A self showAll N/A N/A N/A N/A N/A self colorizer write FAIL red N/A N/A N/A N/A self stream writeln N/A N/A N/A self dots N/A N/A N/A N/A N/A self stream write F N/A N/A N/A N/A self stream flush N/A addError N/A N/A self test err N/A N/A N/A Overrides normal addError to add support for errorClasses.
        If the exception is a registered class, the error will be added
        to the list for that class, not errors.
         N/A stream N/A getattr self stream None N/A N/A ec ev tb err N/A N/A N/A exc_info N/A N/A self _exc_info_to_string err test N/A N/A N/A TypeError N/A N/A exc_info N/A N/A self _exc_info_to_string err N/A N/A cls N/A storage label isfail N/A N/A N/A self errorClasses items N/A N/A N/A N/A N/A result isclass ec N/A issubclass ec cls N/A N/A isfail N/A N/A N/A test passwd False N/A N/A N/A storage append N/A test exc_info N/A N/A stream None N/A N/A N/A self showAll N/A N/A message N/A label N/A detail N/A N/A result _exception_detail N/A err N/A 1 N/A detail N/A N/A N/A N/A message append detail N/A N/A N/A stream writeln N/A N/A :  join message N/A N/A N/A self dots N/A N/A N/A N/A stream write N/A label N/A 1 N/A N/A N/A N/A N/A self errors append N/A test exc_info N/A N/A test passed False N/A N/A stream None N/A N/A N/A self showAll N/A N/A N/A N/A N/A self colorizer write ERROR red N/A N/A N/A N/A self stream writeln N/A N/A N/A self dots N/A N/A N/A N/A stream write E N/A startTest N/A N/A self test N/A N/A N/A N/A N/A N/A unittest TestResult startTest self test N/A current_case N/A N/A N/A test test __class__ __name__ N/A N/A self showAll N/A N/A N/A current_case N/A self _last_case N/A N/A N/A N/A N/A self stream writeln current_case N/A N/A self _last_case current_case N/A N/A N/A N/A self stream write N/A     %s N/A N/A N/A str N/A test test ljust 60 N/A N/A N/A N/A self stream flush N/A N/A RyuTestRunner N/A N/A core TextTestRunner N/A _makeResult N/A N/A self N/A N/A N/A N/A RyuTestResult N/A self stream N/A self descriptions N/A self verbosity N/A self config N/A N/A run_tests N/A N/A c N/A None N/A N/A logger N/A N/A logging getLogger N/A hdlr N/A N/A logging StreamHandler N/A formatter N/A N/A logging Formatter %(asctime)s %(levelname)s %(message)s N/A N/A N/A hdlr setFormatter formatter N/A N/A N/A logger addHandler hdlr N/A N/A N/A logger setLevel N/A logging DEBUG N/A N/A c N/A N/A True N/A runner N/A RyuTestRunner stream N/A c stream verbosity N/A c verbosity config c N/A N/A N/A N/A core run config c testRunner runner N/A add_method N/A N/A cls method_name method N/A N/A N/A Add the method to the class dynamically, keeping unittest/nose happy. N/A N/A method func_name method_name N/A N/A method __name__ method_name N/A N/A six PY3 N/A N/A methodtype N/A N/A types MethodType method cls N/A N/A methodtype N/A N/A types MethodType method None cls N/A N/A setattr cls method_name methodtype N/A