Accepting request 1092827 from devel:languages:python:pytest
- Disable tests that uses pexpect to avoid timeout error when running in OBS. OBS-URL: https://build.opensuse.org/request/show/1092827 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest?expand=0&rev=76
This commit is contained in:
commit
aeb912c618
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 13 10:35:00 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Disable tests that uses pexpect to avoid timeout error when running
|
||||
in OBS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 23:26:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -108,7 +108,9 @@ sed -i '/pytest.mark.xfail(reason="#10042")/d' testing/test_debugging.py
|
||||
%if %{with test}
|
||||
# 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)"
|
||||
# Don't run pexpect tests to avoid timeout error in OBS when running
|
||||
# in quemu
|
||||
%pytest -n auto -m "not uses_pexpect" -k "not ($donttest)"
|
||||
%endif
|
||||
|
||||
%if ! %{with test}
|
||||
|
Loading…
Reference in New Issue
Block a user