Module Expr Str Import alias Import alias Import alias Import alias Import alias Import 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 type NameLoad 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 Import alias Assign TupleStore NameStore NameStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr 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 FunctionDef arguments args NameParam defaults body If CompareGt NameLoad Num body Return Str orelse If CompareGt NameLoad Num body Return Str orelse Return Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr CompareGt NameLoad Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad 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 Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad BinOpSub Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Assign NameStore TupleLoad NameLoad NameLoad NameLoad If CompareGtE Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr BinOpAdd TupleLoad NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad Call NameLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq Call AttributeLoad NameLoad attr Str body Return Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return If CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareGt Call AttributeLoad BinOpSub Call AttributeLoad NameLoad attr NameLoad attr Num body Assign NameStore Num While CompareGt NameLoad Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad BinOpSub Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareNotEq Call NameLoad SubscriptLoad NameLoad Index Num Str If NameLoad body Assign NameStore Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad Call NameLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad If CompareLtE SubscriptLoad AttributeLoad NameLoad attr Slice Num Num TupleLoad Num Num body Assign NameStore Call AttributeLoad NameLoad attr keyword Num orelse Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad If Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr body Assign NameStore Num orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A Display a subunit stream through a colorized unittest test runner. N/A heapq N/A subunit N/A sys N/A unittest N/A six N/A testtools _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 Exception 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 N/A win32console N/A N/A red green blue bold N/A N/A win32console FOREGROUND_RED N/A win32console FOREGROUND_GREEN N/A win32console FOREGROUND_BLUE N/A win32console FOREGROUND_INTENSITY N/A N/A self stream stream N/A N/A self screenBuffer N/A N/A win32console GetStdHandle N/A win32console 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 get_elapsed_time_color N/A N/A elapsed_time N/A N/A N/A N/A elapsed_time 1.0 N/A N/A red N/A N/A N/A elapsed_time 0.25 N/A N/A yellow N/A N/A green N/A NovaTestResult N/A N/A testtools TestResult N/A __init__ N/A N/A self stream descriptions verbosity N/A N/A N/A N/A N/A N/A super NovaTestResult self __init__ N/A N/A self stream stream N/A N/A self showAll N/A verbosity 1 N/A N/A self num_slow_tests 10 N/A N/A self slow_tests N/A 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 N/A self start_time None N/A N/A self last_time N/A N/A N/A self results N/A N/A N/A self last_written None N/A _writeElapsedTime N/A N/A self elapsed N/A N/A N/A color N/A get_elapsed_time_color elapsed N/A N/A N/A N/A self colorizer write N/A   %.2f elapsed color N/A _addResult N/A N/A self test N/A args N/A N/A N/A N/A name N/A N/A test id N/A N/A N/A AttributeError N/A N/A name Unknown.unknown N/A N/A test_class test_name N/A N/A name rsplit . 1 N/A elapsed N/A N/A N/A N/A N/A self _now N/A self start_time total_seconds N/A item N/A elapsed test_class test_name N/A N/A N/A len N/A self slow_tests N/A self num_slow_tests N/A N/A N/A N/A heapq heappushpop N/A self slow_tests item N/A N/A N/A N/A heapq heappush N/A self slow_tests item N/A N/A N/A N/A self results setdefault test_class N/A N/A N/A N/A N/A N/A self results N/A test_class append N/A N/A test_name elapsed args N/A N/A N/A self last_time N/A test_class N/A N/A self _now N/A N/A N/A self writeTests N/A _writeResult N/A N/A self test_name elapsed long_result color short_result success N/A N/A N/A N/A self showAll N/A N/A N/A N/A N/A self stream write N/A     %s N/A N/A N/A str test_name ljust 66 N/A N/A N/A N/A self colorizer write long_result color N/A success N/A N/A N/A N/A self _writeElapsedTime elapsed N/A N/A N/A N/A self stream writeln N/A N/A N/A N/A N/A self colorizer write short_result color N/A addSuccess N/A N/A self test N/A N/A N/A N/A N/A N/A super NovaTestResult self addSuccess test N/A N/A N/A self _addResult test OK green . True N/A addFailure N/A N/A self test err N/A N/A N/A N/A N/A N/A test id process-returncode N/A N/A N/A N/A N/A N/A super NovaTestResult self addFailure test err N/A N/A N/A self _addResult test FAIL red F False N/A addError N/A N/A self test err N/A N/A N/A N/A N/A N/A super NovaTestResult self addFailure test err N/A N/A N/A self _addResult test ERROR red E False N/A addSkip N/A N/A self test reason details N/A None None N/A N/A N/A N/A N/A super NovaTestResult self addSkip test reason details N/A N/A N/A self _addResult test SKIP blue S True N/A startTest N/A N/A self test N/A N/A N/A N/A self start_time N/A N/A self _now N/A N/A N/A N/A super NovaTestResult self startTest test N/A writeTestCase N/A N/A self cls N/A N/A N/A N/A N/A N/A N/A self results get cls N/A N/A N/A N/A cls N/A self last_written N/A N/A N/A N/A N/A self colorizer write cls white N/A N/A N/A N/A self stream writeln N/A result N/A N/A self results N/A cls N/A N/A N/A N/A self _writeResult result N/A N/A N/A self results N/A cls N/A N/A N/A N/A self stream flush N/A N/A self last_written cls N/A writeTests N/A N/A self N/A N/A N/A time N/A N/A N/A self last_time get N/A self last_written N/A N/A self _now N/A N/A N/A N/A self last_written N/A N/A N/A N/A N/A N/A self _now time total_seconds 2.0 N/A N/A diff 3.0 N/A N/A diff 2.0 N/A N/A classes N/A list N/A self results N/A oldest N/A min classes key N/A N/A N/A x N/A N/A N/A self last_time N/A x N/A diff N/A N/A N/A N/A N/A self _now N/A N/A self last_time N/A oldest total_seconds N/A N/A N/A self writeTestCase oldest N/A N/A N/A N/A self writeTestCase N/A self last_written N/A done N/A N/A self N/A N/A N/A N/A N/A self stopTestRun N/A stopTestRun N/A N/A self N/A N/A N/A cls N/A list N/A N/A six iterkeys N/A self results N/A N/A N/A N/A self writeTestCase cls N/A N/A N/A N/A self stream writeln N/A N/A N/A self writeSlowTests N/A writeSlowTests N/A N/A self N/A N/A N/A slow_tests N/A item N/A item N/A self slow_tests N/A N/A get_elapsed_time_color N/A item N/A 0 green N/A slow_tests N/A N/A slow_total_time N/A sum N/A N/A item N/A 0 N/A item slow_tests N/A slow N/A Slowest %i tests took %.2f secs: N/A N/A len slow_tests slow_total_time N/A N/A N/A N/A self colorizer write slow yellow N/A N/A N/A N/A self stream writeln N/A last_cls None N/A N/A elapsed cls name N/A sorted slow_tests key N/A N/A N/A x N/A N/A N/A x N/A 1 N/A x N/A 2 N/A N/A N/A cls last_cls N/A N/A N/A N/A N/A self colorizer write cls white N/A N/A N/A N/A self stream writeln N/A last_cls cls N/A N/A N/A N/A self stream write N/A     %s N/A N/A N/A str name ljust 68 N/A N/A N/A self _writeElapsedTime elapsed N/A N/A N/A N/A self stream writeln N/A printErrors N/A N/A self N/A N/A N/A N/A self showAll N/A N/A N/A N/A N/A self stream writeln N/A N/A N/A self printErrorList ERROR N/A self errors N/A N/A N/A self printErrorList FAIL N/A self failures N/A printErrorList N/A N/A self flavor errors N/A N/A N/A N/A test err errors N/A N/A N/A N/A N/A self colorizer write N/A = 70 red N/A N/A N/A N/A self stream writeln N/A N/A N/A N/A self colorizer write flavor red N/A N/A N/A N/A self stream writeln N/A : %s N/A N/A test id N/A N/A N/A N/A self colorizer write N/A - 70 red N/A N/A N/A N/A self stream writeln N/A N/A N/A N/A self stream writeln N/A %s err N/A N/A N/A test N/A N/A subunit ProtocolTestCase N/A sys stdin passthrough None N/A N/A N/A N/A sys version_info N/A 0 2 N/A 2 6 N/A N/A runner N/A N/A unittest TextTestRunner verbosity 2 N/A N/A runner N/A N/A unittest TextTestRunner verbosity 2 resultclass NovaTestResult N/A N/A N/A N/A N/A runner run test wasSuccessful N/A N/A exit_code 0 N/A N/A exit_code 1 N/A N/A N/A sys exit exit_code