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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user