Searched refs:TIMEOUT2 (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_multiprocessing.py | 74 TIMEOUT1, TIMEOUT2, TIMEOUT3 = 0.82, 0.35, 1.4 variable 76 TIMEOUT1, TIMEOUT2, TIMEOUT3 = 0.1, 0.1, 0.1 variable 486 self.assertRaises(Queue.Full, put, 7, False, TIMEOUT2) 554 self.assertRaises(Queue.Empty, get, False, TIMEOUT2) 753 self.assertEqual(acquire(True, TIMEOUT2), False) 754 self.assertTimingAlmostEqual(acquire.elapsed, TIMEOUT2) 903 time.sleep(TIMEOUT2) 1224 res = self.pool.apply_async(sqr, (6, TIMEOUT2 + 1.0)) 1226 self.assertRaises(multiprocessing.TimeoutError, get, timeout=TIMEOUT2) 1227 self.assertTimingAlmostEqual(get.elapsed, TIMEOUT2)
|
/external/python/cpython3/Lib/test/ |
D | _test_multiprocessing.py | 99 TIMEOUT1, TIMEOUT2, TIMEOUT3 = 0.82, 0.35, 1.4 variable 101 TIMEOUT1, TIMEOUT2, TIMEOUT3 = 0.1, 0.1, 0.1 variable 858 self.assertRaises(pyqueue.Full, put, 7, False, TIMEOUT2) 927 self.assertRaises(pyqueue.Empty, get, False, TIMEOUT2) 1194 self.assertEqual(acquire(True, TIMEOUT2), False) 1195 self.assertTimingAlmostEqual(acquire.elapsed, TIMEOUT2) 1501 time.sleep(TIMEOUT2) 2336 res = self.pool.apply_async(sqr, (6, TIMEOUT2 + 1.0)) 2338 self.assertRaises(multiprocessing.TimeoutError, get, timeout=TIMEOUT2) 2339 self.assertTimingAlmostEqual(get.elapsed, TIMEOUT2)
|