diff --git a/python-pytest.changes b/python-pytest.changes index 5d634ed..2076073 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 13 10:35:00 UTC 2023 - Daniel Garcia + +- Disable tests that uses pexpect to avoid timeout error when running + in OBS. + ------------------------------------------------------------------- Thu May 4 23:26:11 UTC 2023 - Dirk Müller diff --git a/python-pytest.spec b/python-pytest.spec index dfbfa0f..233006a 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -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}