Commit c01cefa3 authored by Denis Bilenko's avatar Denis Bilenko

fix test_hub_shutdown.py

parent 0dafc993
"""Tests that Hub.shutdown() works even when hub is not yet started"""
"""Tests that Hub.join() works even when hub is not yet started"""
# rename to test_hub_join()?
import gevent.hub
res = gevent.hub.get_hub().shutdown()
res = gevent.hub.get_hub().join()
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