Skip to content

Commit

Permalink
Consider entry_points for PYTEST_PLUGINS and pytest_plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
mtelka committed Jul 16, 2024
1 parent d9a2fd0 commit 1b229ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_pytest/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ def _import_plugin_specs(
) -> None:
plugins = _get_plugin_specs_as_list(spec)
for import_spec in plugins:
self.import_plugin(import_spec)
self.import_plugin(import_spec, consider_entry_points=True)

def import_plugin(self, modname: str, consider_entry_points: bool = False) -> None:
"""Import a plugin with ``modname``.
Expand Down

0 comments on commit 1b229ed

Please sign in to comment.