forked from pool/python-pygraphviz
- 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:
@@ -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>
|
Fri Feb 17 22:02:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%global skip_python2 1
|
%global skip_python2 1
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
Name: python-pygraphviz
|
Name: python-pygraphviz
|
||||||
@@ -74,7 +73,8 @@ export CFLAGS="%{optflags}"
|
|||||||
# export PYTEST_ADDOPTS="--doctest-modules --durations=10 --import-mode=importlib"
|
# export PYTEST_ADDOPTS="--doctest-modules --durations=10 --import-mode=importlib"
|
||||||
export PYTEST_ADDOPTS="--import-mode=importlib"
|
export PYTEST_ADDOPTS="--import-mode=importlib"
|
||||||
# skip tests because of gh#pygraphviz/pygraphviz#366
|
# 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
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user