def apply_filters(stream, filters, lexer=None):
    def _apply(filter_, stream):
        for token in filter_.filter(lexer, stream):
            yield token
    for filter_ in filters:
        stream = _apply(filter_, stream)
    return stream
Runs setup before and clean up after a test which use this fixture
dataset/ETHPy150Open darcyliu/storyboard/pygments/filter.py/apply_filters--crossover with--dataset/ETHPy150Open Nordeus/pushkin/pushkin/tests/request/test_event_handler_manager.py/setup