def METHOD_NAME(exercise: ExerciseInfo, workdir: Path, exercise_config = None):
    if exercise_config is not None:
        test_files = exercise_config.files.test
        helper_files = exercise_config.files.editor
    else:
        test_files = []
        helper_files = []
    if helper_files:
        for helper_file_name in helper_files:
            helper_file = exercise.path / helper_file_name
            helper_file_out = workdir / helper_file_name
            copy_file(helper_file, helper_file_out, strip_skips=(exercise.slug not in ALLOW_SKIP))
    if not test_files:
        test_files.append(exercise.test_file.name)
    for test_file_name in test_files:
        test_file = exercise.path / test_file_name
        test_file_out = workdir / test_file_name
        copy_file(test_file, test_file_out, strip_skips=(exercise.slug not in ALLOW_SKIP))