-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
pytest --fixtures does not show fixtures with leading underscore #3398
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
Comments
@kohr-h would you like to contribute a PR? |
GitMate.io thinks possibly related issues are #1132 (Pytest/capsys fixture not capturing stdout), #343 (pytest.fixture with a yield statement doesn't work as expected), #1849 (Pytest 3.0 does not accept empty list in fixture), #3366 (Plugin fixtures with leading underscore ignored outside project defining them), and #2043 (Pytest does not support indirect parameters for overriden fixtures). |
Sure, why not. Apart from changing the code, is there any documentation / changelog update necessary? |
im -1 on removing it - id rather see it documented |
To play it safe? Works for me too. I think just adding a note in the docs and perhaps in the cmdline help ( |
yup - bascailly |
Mention omission of fixtures with leading '_', closes #3398
Follow up of #3366.
We couldn't pinpoint the reason for this and it might confuse users, so we might as well remove this.
The text was updated successfully, but these errors were encountered: