Commit f771082d authored by Denis Bilenko's avatar Denis Bilenko

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

parent 73c55de3
...@@ -68,12 +68,12 @@ class TestGreenIo(TestCase): ...@@ -68,12 +68,12 @@ class TestGreenIo(TestCase):
server = socket.tcp_listener(('0.0.0.0', 0)) server = socket.tcp_listener(('0.0.0.0', 0))
server_greenlet = gevent.spawn(accept_close_early, server) server_greenlet = gevent.spawn(accept_close_early, server)
did_it_work(server) did_it_work(server)
server_greenlet.kill(block=True) server_greenlet.kill()
server = socket.tcp_listener(('0.0.0.0', 0)) server = socket.tcp_listener(('0.0.0.0', 0))
server_greenlet = gevent.spawn(accept_close_late, server) server_greenlet = gevent.spawn(accept_close_late, server)
did_it_work(server) did_it_work(server)
server_greenlet.kill(block=True) server_greenlet.kill()
def test_del_closes_socket(self): def test_del_closes_socket(self):
timer = gevent.Timeout.start_new(0.5) timer = gevent.Timeout.start_new(0.5)
......
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