#NEWLINE# def test_with_port_number( self ) : #NEWLINE# #INDENT# port = 8080 #NEWLINE# ( address , family , resolved ) = self . channel . _format_address ( port ) #NEWLINE# self . assertEqual ( address , ( '' , port ) ) #NEWLINE# self . assertEqual ( family , socket . AF_INET ) #NEWLINE# self . assertEqual ( address , True )