#NEWLINE# def __init__( self , stream , override_appveyor = False , disable_windows = False ) : #NEWLINE# #INDENT# self . stream = stream #NEWLINE# on_windows = ( platform . system ( ) == 'Windows' ) #NEWLINE# on_appveyor = os . environ . get ( 'APPVEYOR' , False ) #NEWLINE# if ( override_appveyor or ( ( on_windows and ( not on_appveyor ) ) and ( not disable_windows ) ) ) : #NEWLINE# #INDENT# self . stream = wrap_stream ( self . stream , None , None , None , True ) #NEWLINE# #UNINDENT# self . closed = False