From 2114cfbb6f6def804f16093588832daf010507d1 Mon Sep 17 00:00:00 2001 From: Igor Pavlov Date: Thu, 30 Jul 2015 13:11:48 +0600 Subject: 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. --- nose/plugins/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1