summaryrefslogtreecommitdiff
path: root/dev-python/pygal/files/pygal-2.4.0-fix-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pygal/files/pygal-2.4.0-fix-tests.patch')
-rw-r--r--dev-python/pygal/files/pygal-2.4.0-fix-tests.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/pygal/files/pygal-2.4.0-fix-tests.patch b/dev-python/pygal/files/pygal-2.4.0-fix-tests.patch
new file mode 100644
index 000000000000..6ae07df3427b
--- /dev/null
+++ b/dev-python/pygal/files/pygal-2.4.0-fix-tests.patch
@@ -0,0 +1,17 @@
+diff --git a/pygal/test/conftest.py b/pygal/test/conftest.py
+index ea36010..6fe40cb 100644
+--- a/pygal/test/conftest.py
++++ b/pygal/test/conftest.py
+@@ -48,9 +48,9 @@ def pytest_generate_tests(metafunc):
+ if hasattr(sys, 'pypy_version_info'):
+ etree.to_etree()
+
+- if "Chart" in metafunc.funcargnames:
++ if "Chart" in metafunc.fixturenames:
+ metafunc.parametrize("Chart", pygal.CHARTS)
+- if "datas" in metafunc.funcargnames:
++ if "datas" in metafunc.fixturenames:
+ metafunc.parametrize(
+ "datas", [[("Serie %d" % i, get_data(i)) for i in range(s)]
+ for s in (5, 1, 0)]
+--