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

CHANGELOG: fix errors in 1.0.0 entry #470

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Features
--------

- `#282 <https://github.com/pytest-dev/pluggy/issues/282>`_: When registering a hookimpl which is declared as ``hookwrapper=True`` but whose
function is not a generator function, a ``PluggyValidationError`` exception is
function is not a generator function, a :class:`~pluggy.PluginValidationError` exception is
now raised.

Previously this problem would cause an error only later, when calling the hook.
Expand All @@ -158,7 +158,7 @@ Features

.. code-block:: python

def my_hook_real_implementation(arg):
def my_hook_implementation(arg):
print("before")
yield
print("after")
Expand Down