avoid undocumented special casing of "pytest_" prefix
--HG-- branch : plugin_no_pytest
This commit is contained in:
@@ -208,8 +208,6 @@ class PytestPluginManager(PluginManager):
|
||||
try:
|
||||
mod = importplugin(modname)
|
||||
except ImportError:
|
||||
if modname.startswith("pytest_"):
|
||||
return self.import_plugin(modname[7:])
|
||||
raise
|
||||
except Exception as e:
|
||||
import pytest
|
||||
|
||||
Reference in New Issue
Block a user