def temp_ouput_file(pytest_input):
    """
    Return the name of the temporary output file for a given test.

    Arguments
    ---------
    pytest_input : str
        The pytest input indicating for which test function to obtain
        the temporary output file name

    Returns
    -------
    str
        The temporary output file name for the given test function

    """
    return pytest_input.replace("/", ".").replace("::", ".")