Skip to content

Commit

Permalink
CHANGELOG: fix errors in 1.0.0 entry
Browse files Browse the repository at this point in the history
Refs #468.
  • Loading branch information
bluetech committed Jan 12, 2024
1 parent 0abac75 commit 4b5b2d4
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 4b5b2d4

Please sign in to comment.