From b4c3c6337ebc27a12f515e2a351b162831e571a7507f557db9b9582aa0a27be7 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 23 Feb 2023 10:54:52 +0000 Subject: [PATCH] - Add test_drawing_png_output_with_NULL_smoketest to the list of tests to skip because missing png support. gh#pygraphviz/pygraphviz#366 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygraphviz?expand=0&rev=23 --- python-pygraphviz.changes | 6 ++++++ python-pygraphviz.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-pygraphviz.changes b/python-pygraphviz.changes index 234c4e4..6f8b403 100644 --- a/python-pygraphviz.changes +++ b/python-pygraphviz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 23 10:53:13 UTC 2023 - Daniel Garcia + +- Add test_drawing_png_output_with_NULL_smoketest to the list of tests + to skip because missing png support. gh#pygraphviz/pygraphviz#366 + ------------------------------------------------------------------- Fri Feb 17 22:02:46 UTC 2023 - Dirk Müller diff --git a/python-pygraphviz.spec b/python-pygraphviz.spec index 0c6dacc..b0d5af1 100644 --- a/python-pygraphviz.spec +++ b/python-pygraphviz.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %global skip_python2 1 %bcond_without tests Name: python-pygraphviz @@ -74,7 +73,8 @@ export CFLAGS="%{optflags}" # export PYTEST_ADDOPTS="--doctest-modules --durations=10 --import-mode=importlib" export PYTEST_ADDOPTS="--import-mode=importlib" # skip tests because of gh#pygraphviz/pygraphviz#366 -%pytest_arch -k 'not (test_drawing_makes_file or test_drawing_makes_file1 or test_drawing_makes_file)' +donttest="test_drawing_makes_file or test_drawing_makes_file1 or test_drawing_makes_file or test_drawing_png_output_with_NULL_smoketest" +%pytest_arch -k "not ($donttest)" %endif %files %{python_files}