Skip to content

Commit

Permalink
specname requires Pluggy 1.0.0 or higher
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Dec 20, 2021
1 parent fcc5ca6 commit 20e40b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pluggy/multiple-hooks-same-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ def filters_from_request_2(request, database, datasette):
# ...
```
Which allows you to write more than one plugin implementation function in the same Python module file.

Note that the `specname` feature requires [Pluggy 1.0.0](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst#pluggy-100-2021-08-25) or higher.

0 comments on commit 20e40b0

Please sign in to comment.