- Disable broken tests with latest setuptools,

gh#pytest-dev/pytest#10815

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=109
This commit is contained in:
Daniel Garcia 2023-03-16 07:06:44 +00:00 committed by Git OBS Bridge
parent 3cb666870c
commit f5960393e1
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 16 07:06:13 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Disable broken tests with latest setuptools,
gh#pytest-dev/pytest#10815
-------------------------------------------------------------------
Wed Jan 4 10:15:15 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -109,7 +109,9 @@ sed -i '/pytest.mark.xfail(reason="#10042")/d' testing/test_debugging.py
%check
%if %{with test}
%pytest -n auto
# Disable broken tests with latest setuptools, gh#pytest-dev/pytest#10815
donttest="test_cmdline_python_namespace_package or test_syspath_prepend_with_namespace_packages"
%pytest -n auto -k "not ($donttest)"
%endif
%if ! %{with test}