Skip to content
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

pytest.Instance is not documented in the API Reference #9265

Closed
bluetech opened this issue Nov 3, 2021 · 3 comments
Closed

pytest.Instance is not documented in the API Reference #9265

bluetech opened this issue Nov 3, 2021 · 3 comments
Labels
type: docs documentation improvement, missing or needing clarification

Comments

@bluetech
Copy link
Member

bluetech commented Nov 3, 2021

The Instance collector type is part of the public API and is passed to some hooks, e.g. pytest_pycollect_makeitem, so we should explain what it is (it is not very obvious!).

@bluetech bluetech added the type: docs documentation improvement, missing or needing clarification label Nov 3, 2021
@bluetech
Copy link
Member Author

bluetech commented Nov 6, 2021

Looking at Instance, I'm think we might want to get rid of it instead of publicizing it more. I'll post a proposal for this after #9273 is merged.

@RonnyPfannschmidt
Copy link
Member

@bluetech i want to remove instance for more than 5 years now ^^ and at the same time introduce FunctionDefinition more directly

@bluetech
Copy link
Member Author

This is made irrelevant by #9277.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs documentation improvement, missing or needing clarification
Projects
None yet
Development

No branches or pull requests

2 participants