示例#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))