def test_parseResponseErrbackSafety(self):
        d = self.queryFactory.deferred
        # The failure mode is that this callback raises an AlreadyCalled
        # error. We have to add it now so that it gets called synchronously
        # and triggers the race condition.
        d.addErrback(self.queryFactory.clientConnectionLost, self.reason)
        self.queryFactory.parseResponse(self.badContents)
        return d
Echo. Same as echo_wsh.py.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_xmlrpc.py/TestQueryFactoryParseResponse.test_parseResponseErrbackSafety--crossover with--dataset/ETHPy150Open google/pywebsocket/example/echo_noext_wsh.py/web_socket_transfer_data