import textwrap


def ped_file_parent_missing(fake_fs):
    """Return fake file system with PED file"""

    content = textwrap.dedent(
        """
    # comment
    FAM	II-1\tI-1\t0\t1\t2
    FAM I-1     0\t0\t1\t1
    """
    ).strip()

    fake_fs.fs.create_file("/test.ped", create_missing_dirs=True, contents=content)

    return fake_fs