Commit 0a1bae58 authored by Denis Bilenko's avatar Denis Bilenko

test_hub_shutdown.py: check that shutdown() removes hub from threadlocal...

test_hub_shutdown.py: check that shutdown() removes hub from threadlocal storage even if hub was never switched to
parent f196607a
......@@ -2,3 +2,4 @@
import gevent.hub
res = gevent.hub.get_hub().shutdown()
assert res is None, res
assert 'hub' not in gevent.hub._threadlocal.__dict__, gevent.hub._threadlocal.__dict__
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