def LoopUntilTimeoutOrNotNone(timeout_s, function, sleep_s=1):  # pylint: disable=invalid-name
  return LoopUntilTimeoutOrValid(
      timeout_s, function, lambda x: x is not None, sleep_s)
Test CheckValidity().
dataset/ETHPy150Open google/openhtf/openhtf/util/timeouts.py/LoopUntilTimeoutOrNotNone--crossover with--dataset/ETHPy150Open google/simian/src/tests/simian/auth/x509_test.py/X509CertificateTest.testCheckValidityWhenTooNew