14
0

- 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
This commit is contained in:
2023-02-23 10:54:52 +00:00
committed by Git OBS Bridge
parent 81f655b0a6
commit b4c3c6337e
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 23 10:53:13 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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}