mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Merge 3.1
This commit is contained in:
commit
900189b414
1 changed files with 1 additions and 1 deletions
|
@ -1088,7 +1088,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…
Add table
Add a link
Reference in a new issue