Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

        def tearDownLogging(logger):
    for handler in logger.handlers:
        if hasattr(handler, '_added_by_tests_'):
            logger.removeHandler(handler)
            logger.propagate = handler._old_propagate_
            logger.setLevel(handler._old_level_)
            break
        


src/c/i/cipher.background-2.0.0a1/src/cipher/background/tests/test_thread.py   cipher.background(Download)
def tearDown(test):
    testing.tearDownLogging(log)
    setSite(None)
    endInteraction()
    transaction.abort()