-
Notifications
You must be signed in to change notification settings - Fork 62
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
skipif reason must be a string #16
Conversation
Passing skipif reason=None generates an error: "Failed: you need to specify reason=STRING when using booleans as conditions."
(I don't understand the coverage decrease.) The error does not happen when running tox but when running Debian Jessie's py.test. |
I can't explain it, but this change makes the tox report go from
to
which probably explains the coverage issue. |
This affects other MongoDB frameworks. I can complete the PR if needed. |
The trouble is only present for pytest<2.8, so I prefer to let it this way. I've documented the trouble both in doc and in tox.ini |
On my setup, this fixes a lot of errors while running py.test: