def setUp(self): super(SystemClockTest, self).setUp() self.clock = wait.SystemClock()
def test_until(self): c = wait.SystemClock() self.assertFalse(wait.until_pred(c, sys.maxint)) self.assertTrue(wait.until_pred(c, 0))