From 068424b26532f3551a81421a9be67ed206e5c11a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Aug 2021 07:02:28 +0100 Subject: gentoo resync : 11.08.2021 --- dev-python/pygal/files/pygal-2.4.0-fix-tests.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dev-python/pygal/files/pygal-2.4.0-fix-tests.patch (limited to 'dev-python/pygal/files/pygal-2.4.0-fix-tests.patch') 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)] +-- -- cgit v1.2.3