#NEWLINE# def tearDown( self ) : #NEWLINE# #INDENT# d3 = Deferred ( ) #NEWLINE# self . _serverProtocol . notifyOnDisconnect ( ( lambda : d3 . callback ( None ) ) ) #NEWLINE# return DeferredList ( [ maybeDeferred ( self . serverPort . stopListening ) , maybeDeferred ( self . clientConn . disconnect ) , self ] )