Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

cytora / gevent   python

Repository URL to install this package:

Version: 1.4.0 

/ tests / test__threadpool_executor_patched.py

from __future__ import print_function
from gevent import monkey; monkey.patch_all()

import gevent.testing as greentest
import gevent.threadpool


if hasattr(gevent.threadpool, 'ThreadPoolExecutor'):

    from test__threadpool import TestTPE as _Base

    class TestPatchedTPE(_Base):
        MONKEY_PATCHED = True

    del _Base

if __name__ == '__main__':
    greentest.main()