Did I find the right examples for you? yes no

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)

src/p/y/python-manhole-HEAD/tests/test_manhole.py   python-manhole(Download)
def test_fail_to_cry():
    import manhole
    verbose = manhole.VERBOSE
    out = manhole._STDERR
    try:
 
        if os.getenv('PATCH_THREAD', False):
            import manhole
            setup_greenthreads(True)
        else:
            setup_greenthreads(True)
            import manhole

src/m/a/manhole-0.6.2/tests/test_manhole.py   manhole(Download)
def test_fail_to_cry():
    import manhole
    verbose = manhole.VERBOSE
    out = manhole._STDERR
    try:
 
        if os.getenv('PATCH_THREAD', False):
            import manhole
            setup_greenthreads(True)
        else:
            setup_greenthreads(True)
            import manhole