def test_transientlogger():
    import random, time
    happy, nightmare = luv(), bad_things()
    try:
        while True:
            if random.randrange(60) == 0:
                logger.warning(nightmare.next())
            else:
                logger.debug(happy.next())
            time.sleep(0.02)
    except __HOLE__:
        pass
dataset/ETHPy150Open jart/fabulous/fabulous/test_transientlogging.py/test_transientlogger