summaryrefslogtreecommitdiff
path: root/dev-python/pygal/files/2.4.0-fix-tests.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
commit908778078736bd36f7a60a2d576d415cb8e000fa (patch)
treec6a4796c48b608c14dc7e9674cdbd38f905e3c15 /dev-python/pygal/files/2.4.0-fix-tests.patch
parent185fa19bbf68a4d4dca534d2b46729207a177f16 (diff)
gentoo resync : 22.05.2021
Diffstat (limited to 'dev-python/pygal/files/2.4.0-fix-tests.patch')
-rw-r--r--dev-python/pygal/files/2.4.0-fix-tests.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/pygal/files/2.4.0-fix-tests.patch b/dev-python/pygal/files/2.4.0-fix-tests.patch
new file mode 100644
index 000000000000..6ae07df3427b
--- /dev/null
+++ b/dev-python/pygal/files/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)]
+--