Skip to content

YML files are not YAML files #5533

@AvdN

Description

@AvdN

https://docs.pytest.org/en/latest/example/nonpython.html has a description of using YAML files.

However there is repeated reference to .yml files. YML (https://fdik.org/yml/) is a different format that is almost as old as YAML.

The recommended file extension for YAML files has been .yaml since 2006 (https://web.archive.org/web/20060924190202/http://yaml.org/faq.html)

Please use the appropriate extension for YAML files and change the option --run-yml to --run-yaml, because pytest is not using YML files at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueeasy issue that is friendly to new contributortype: docsdocumentation improvement, missing or needing clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions