@pytest.fixture(scope='function')
def handler(log_started):
    _handler.truncate(0)
    _handler.seek(0)
    return _handler
Resets the global TestHandler instance for each test.
dataset/ETHPy150Open crossbario/txaio/test/test_logging.py/handler