summaryrefslogtreecommitdiff
path: root/nose
diff options
context:
space:
mode:
authorIgor Pavlov <nwlunatic@yandex.ru>2015-07-30 13:11:48 +0600
committerIgor Pavlov <nwlunatic@yandex.ru>2015-08-18 09:13:59 +0600
commit2114cfbb6f6def804f16093588832daf010507d1 (patch)
tree24a57345809a4c0087fd8b5124d6a3382b318d74 /nose
parentf813dfc50cc6c32be38f4c1fb3b70459cb4444a2 (diff)
downloadnose-2114cfbb6f6def804f16093588832daf010507d1.tar.gz
fix 3rd party plugin override builtin plugin
http://nose.readthedocs.org/en/latest/plugins/builtin.html Docs says that we should load builtin plugins first and entry point second to override builtin. We also should be aware of breaking someone compatibility, cause builtin plugin overriding feature was introduced Jan 20, 2010 and was broken on Nov 12, 2011, so it's a fix to a long-lived bug.
Diffstat (limited to 'nose')
-rw-r--r--nose/plugins/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nose/plugins/manager.py b/nose/plugins/manager.py
index 4d2ed22..04593f5 100644
--- a/nose/plugins/manager.py
+++ b/nose/plugins/manager.py
@@ -416,7 +416,7 @@ class BuiltinPluginManager(PluginManager):
try:
import pkg_resources
- class DefaultPluginManager(EntryPointPluginManager, BuiltinPluginManager):
+ class DefaultPluginManager(BuiltinPluginManager, EntryPointPluginManager):
pass
except ImportError: