def mock_send_error(self, msgid, error):
        """Mock send response to make testing narrowed down and simpler."""
        self.error = (msgid, error)
        print "error was " + str(self.error)
dataset/ETHPy150Open bfrog/whizzer/whizzer/test/test_rpc_pickle.py/TestPickleProtocol.mock_send_error/original