b805ee04d7
- Add patch pytest6.patch OBS-URL: https://build.opensuse.org/request/show/830032 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygal?expand=0&rev=14
17 lines
608 B
Diff
17 lines
608 B
Diff
Index: pygal-2.4.0/pygal/test/conftest.py
|
|
===================================================================
|
|
--- pygal-2.4.0.orig/pygal/test/conftest.py
|
|
+++ pygal-2.4.0/pygal/test/conftest.py
|
|
@@ -50,9 +50,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",
|
|
[
|