def METHOD_NAME(self):
    timeout = gevent.Timeout(self._default_wait_timeout)
    try:
        self._wait_and_check(timeout=timeout)
    except gevent.Timeout as ex:
        self.assertIs(ex, timeout)
    finally:
        timeout.close()
    self.cleanup()