def wait_for_erlang_prompt(self):
        prompted = False
        buffer = ""
        while not prompted:
            line = self._server.stdout.readline()
            if len(line) is 0:
                buffer += line
            if re.search(r"\(%s\)\d+>" % self.vm_args["-name"], buffer):
                prompted = True
            if re.search(r'"Kernel pid terminated".*\n', buffer):
                raise Exception("Riak test server failed to start.")
dataset/ETHPy150Open basho/riak-python-client/riak/test_server.py/TestServer.wait_for_erlang_prompt/operator `>` -> `is`