-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Confusing pytestmark documentation #2333
Comments
thats a wrong operator, i believe it should be |
The class is called TestPosixCalls and the docstring says "will not be setup or run under 'win32' platform". If I understand skipif correctly, the operator is correct, but the reason is wrong. |
That link is out of date, this has been fixed sometime ago already! 👍 Latest version: http://doc.pytest.org/en/latest/skipping.html#skip-all-test-functions-of-a-class-or-module Where did you find that link btw? It seems like we are redirecting only pytest.org/latest to readthedocs. |
It's the fourth result from Googling "pytest skip". I see the first result is the right one, but I chose that one because of the "dev" in the URL. If those docs are out of date I would suggest removing them. |
Agreed, thanks for pointing it out. @RonnyPfannschmidt @hpk42 should we just remove them or redirect them as well? |
The pytestmark documentation at http://pytest.org/dev/skipping.html#skip-all-test-functions-of-a-class-or-module says:
The reason given is
"requires windows"
, but if I understand the test correctly, it should be"requires POSIX"
.The text was updated successfully, but these errors were encountered: