def tearDownClass(cls): if cls.need_unpatch: gevent_un_patch_all()
def tearDownClass(cls): if is_gevent_monkey_patched(): gevent_un_patch_all()