#NEWLINE# def __init__( self , stream_opener , config ) : #NEWLINE# #INDENT# super ( PrettyFormatter , self ) . __init__ ( stream_opener , config ) #NEWLINE# self . stream = self . open ( ) #NEWLINE# isatty = getattr ( self . stream , 'isatty' , ( lambda : True ) ) #NEWLINE# stream_supports_colors = isatty ( ) #NEWLINE# self . monochrome = ( ( not config . color ) or ( not stream_supports_colors ) ) #NEWLINE# self . show_source = config . show_source #NEWLINE# self . show_timings = config . show_timings #NEWLINE# self . show_multiline = config . show_multiline #NEWLINE# self . formats = None #NEWLINE# self . display_width = get_terminal_size ( ) [ 0 ] #NEWLINE# self . steps = [ ] #NEWLINE# self . _uri = None #NEWLINE# self . _match = None #NEWLINE# self . statement = None #NEWLINE# self . indentations = [ ] #NEWLINE# self . step_lines = 0