Skip to content

Doc error in the markers section #2200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bilderbuchi opened this issue Jan 17, 2017 · 1 comment
Closed

Doc error in the markers section #2200

bilderbuchi opened this issue Jan 17, 2017 · 1 comment

Comments

@bilderbuchi
Copy link
Contributor

bilderbuchi commented Jan 17, 2017

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

nicoddemus added a commit to nicoddemus/pytest that referenced this issue Jan 17, 2017
I cheated a little and updated the example output by hand. 😁

Fix pytest-dev#2200
@nicoddemus
Copy link
Member

Thanks for noticing and reporting it. Opened #2204 with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants