Commit c1980f65 authored by Denis Bilenko's avatar Denis Bilenko

add test__destroy.py

parent 5271d8ba
import gevent
hub = gevent.get_hub()
assert hub.loop.default, hub
hub.destroy()
hub = gevent.get_hub()
assert hub.loop.default, hub
hub.destroy(destroy_loop=True)
hub = gevent.get_hub()
assert not hub.loop.default, hub
hub.destroy()
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