Commit 5f7051a9 authored by Denis Bilenko's avatar Denis Bilenko

test__pool.py: do not do kill(block=True) since blocking is default

--HG--
extra : transplant_source : V%93%89%10%AAx%7D%5C%85%CDn%CDeB%B5%80U%C8p%C2
parent 0b2b5738
...@@ -246,7 +246,7 @@ class TestPool(greentest.TestCase): ...@@ -246,7 +246,7 @@ class TestPool(greentest.TestCase):
def test_terminate(self): def test_terminate(self):
result = self.pool.map_async(gevent.sleep, [0.1] * 1000) result = self.pool.map_async(gevent.sleep, [0.1] * 1000)
kill = TimingWrapper(self.pool.kill) kill = TimingWrapper(self.pool.kill)
kill(block=True) kill()
assert kill.elapsed < 0.5, kill.elapsed assert kill.elapsed < 0.5, kill.elapsed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment