avoid undocumented special casing of "pytest_" prefix

--HG--
branch : plugin_no_pytest
This commit is contained in:
holger krekel
2015-04-22 13:44:37 +02:00
parent 20d6c0b560
commit 894d7dca22
4 changed files with 1 additions and 6 deletions

View File

@@ -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