mirror of https://github.com/python/cpython
Merge 3.2
This commit is contained in:
commit
f09e652a0e
|
@ -1100,7 +1100,7 @@ class _TestPool(BaseTestCase):
|
||||||
self.pool.terminate()
|
self.pool.terminate()
|
||||||
join = TimingWrapper(self.pool.join)
|
join = TimingWrapper(self.pool.join)
|
||||||
join()
|
join()
|
||||||
self.assertTrue(join.elapsed < 0.5)
|
self.assertLess(join.elapsed, 0.5)
|
||||||
|
|
||||||
def raising():
|
def raising():
|
||||||
raise KeyError("key")
|
raise KeyError("key")
|
||||||
|
|
Loading…
Reference in New Issue