-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Description
Currently pluggy._CallOutcome is implied to be part of the internal api by the leading _.
In practice it is used by hookwrappers.
An example:
@pytest.hookimpl(tryfirst=True, hookwrapper=True)
def pytest_runtest_makereport(item, call):
outcome = yield
rep = outcome.get_result()
...The outcome is accessed directly by the user.
Therefore I propose we expose it correct in plugg.__all__ and expose it in the api reference.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels