def abortConnection(self):
        self.aborting = True
        self.loseConnection()
A testable version of the C{ITCPTransport.abortConnection} method.
dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/StringTransport.abortConnection