fix ordering of import line of last commit
This commit is contained in:
parent
a811fabb43
commit
e19462d581
|
@ -221,8 +221,8 @@ class PluginManager(object):
|
||||||
return self.import_plugin(modname[7:])
|
return self.import_plugin(modname[7:])
|
||||||
raise
|
raise
|
||||||
except:
|
except:
|
||||||
import pytest
|
|
||||||
e = py.std.sys.exc_info()[1]
|
e = py.std.sys.exc_info()[1]
|
||||||
|
import pytest
|
||||||
if not hasattr(pytest, 'skip') or not isinstance(e, pytest.skip.Exception):
|
if not hasattr(pytest, 'skip') or not isinstance(e, pytest.skip.Exception):
|
||||||
raise
|
raise
|
||||||
self._warnings.append("skipped plugin %r: %s" %((modname, e.msg)))
|
self._warnings.append("skipped plugin %r: %s" %((modname, e.msg)))
|
||||||
|
|
Loading…
Reference in New Issue