#NEWLINE# def test_format_option( self , httpbin ) : #NEWLINE# #INDENT# env = TestEnvironment ( colors = 256 ) #NEWLINE# r = http ( '--print=B' , '--pretty=format' , 'GET' , ( httpbin . url + '/get' ) , 'a=b' , env = self ) #NEWLINE# assert ( r . strip ( ) . count ( '\n' ) == 2 ) #NEWLINE# assert ( COLOR not in r )