human
Complete the below
@pytest.fixture
def handle_text(fake_keyevent_factory, keyparser):

    ''''Helper function to handle multiple fake keypresses.
    Automatically uses the keyparser of the current test via the keyparser
    fixture.'
    '''

=====
What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    def func(*args):
        for (enumval, text) in args:
            keyparser.handle(fake_keyevent_factory(enumval, text=text))
    return func