Skip to content

Doc error in the markers section #2200

@bilderbuchi

Description

@bilderbuchi

I think there is an error in the documentation concerning markers. See here, below where it says "then you will see two test skipped and two executed tests as expected". The code below that sentence shows 3 tests skipped and one passed. If you study the marks above and the code output, you'll realize that the platform is not linux2 anymore, but linux, when the code snippet was (re)generated, so the linux2 test was not run.

I don't know the background behind the linux2 vs. linux platform, so I don't know if I should just correct the sentence, or adapt the code samples or regenerate the output (how?) in that section?

Relevant file for reference: https://github.com/pytest-dev/pytest/blob/master/doc/en/example/markers.rst

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions