def METHOD_NAME(self):
    self.server = HTTPServer((support.HOST, 0), RobotHandler)
    self.t = threading.Thread(
        name='HTTPServer serving',
        target=self.server.serve_forever,
        # Short poll interval to make the test finish quickly.
        # Time between requests is short enough that we won't wake
        # up spuriously too many times.
        kwargs={'poll_interval':0.01})
    self.t.daemon = True  # In case this function raises.
    self.t.start()