

def run(self):
    try:
        self.httpd = make_server('localhost', 0, self.app)
        self.is_ready.set()
        self.httpd.serve_forever()
    except Exception as exc:
        self.error = exc
        self.is_ready.set()

dataset/ETHPy150Open pypa/warehouse/tests/conftest.py LiveServerThread.run/original