forked from pytest-dev/pluggy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add name parameter to PluginManager.load_setuptools_entrypoints
Related to pytest-dev/pytest#4727
- Loading branch information
1 parent
cfba99d
commit 1d6b381
Showing
3 changed files
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
``PluginManager.load_setuptools_entrypoints`` now accepts a ``name`` parameter that when given will | ||
load only entry points with that name. | ||
|
||
``PluginManager.load_setuptools_entrypoints`` also now returns the number of plugins loaded by the | ||
call, as opposed to the number of all plugins loaded by all calls to this method. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters