diff options
Diffstat (limited to 'dev-python/matplotlib/files/matplotlib-2.0.2-nose-fixes.patch')
| -rw-r--r-- | dev-python/matplotlib/files/matplotlib-2.0.2-nose-fixes.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/matplotlib/files/matplotlib-2.0.2-nose-fixes.patch b/dev-python/matplotlib/files/matplotlib-2.0.2-nose-fixes.patch new file mode 100644 index 000000000000..ab1181bd0176 --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-2.0.2-nose-fixes.patch @@ -0,0 +1,13 @@ +diff --git a/lib/matplotlib/__init__.py b/lib/matplotlib/__init__.py +index 530c889a9..8231c2bb8 100644 +--- a/lib/matplotlib/__init__.py ++++ b/lib/matplotlib/__init__.py +@@ -1609,7 +1609,7 @@ def test(verbosity=1): + + # store the old values before overriding + plugins = _get_extra_test_plugins() +- plugins.extend([plugin() for plugin in nose.plugins.builtin.plugins]) ++ plugins.extend(nose.plugins.builtin.plugins) + + manager = PluginManager(plugins=[x() for x in plugins]) + config = nose.config.Config(verbosity=verbosity, plugins=manager) |
