예제 #1
0
 def test_until(self):
     c = wait.SystemClock()
     self.assertFalse(wait.until_pred(c, sys.maxint))
     self.assertTrue(wait.until_pred(c, 0))
예제 #2
0
 def test_until(self):
     c = wait.SystemClock()
     self.assertFalse(wait.until_pred(c, sys.maxint))
     self.assertTrue(wait.until_pred(c, 0))
예제 #3
0
 def test_until(self):
     c = wait.SystemClock()
     self.assertFalse(wait.until_pred(c, six.MAXSIZE))
     self.assertTrue(wait.until_pred(c, 0))