summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib/files/matplotlib-2.0.2-nose-fixes.patch
diff options
context:
space:
mode:
authorSean Vig <sean.v.775@gmail.com>2017-03-19 20:53:20 -0400
committerMichał Górny <mgorny@gentoo.org>2017-06-03 12:27:55 +0200
commit299f1dd7ed390a82802f8f58c270181e52346c57 (patch)
treed91dc3865fc0f4d8adf15a2ed36f02870e1446c6 /dev-python/matplotlib/files/matplotlib-2.0.2-nose-fixes.patch
parent62308fdf8373e8a42c501c90b4b2b658b6d03aca (diff)
downloadgentoo-299f1dd7ed390a82802f8f58c270181e52346c57.tar.gz
gentoo-299f1dd7ed390a82802f8f58c270181e52346c57.tar.bz2
gentoo-299f1dd7ed390a82802f8f58c270181e52346c57.zip
dev-python/matplotlib: Version bump to 2.0.2, #608062
Closes: https://github.com/gentoo/gentoo/pull/4249
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.patch13
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)