from pathlib import Path


def dataset_description_path(tmp_path_factory) -> Path:
    """Fixture to define the dataset description_path."""
    dataset_path = tmp_path_factory.mktemp("test_dataset") / "description.md"
    description = "This is a fake description of the dataset.\nAnother line."
    with open(dataset_path, "w") as file:
        file.write(description)

    return dataset_path