def test_until(self): c = wait.SystemClock() self.assertFalse(wait.until_pred(c, sys.maxint)) self.assertTrue(wait.until_pred(c, 0))
def test_until(self): c = wait.SystemClock() self.assertFalse(wait.until_pred(c, six.MAXSIZE)) self.assertTrue(wait.until_pred(c, 0))