Accepting request 1039059 from devel:languages:python:pytest

- Disable test_dist_boxed, broken with latest version of pytest-xdist,
  gh#pytest-dev/pytest-cov#565

OBS-URL: https://build.opensuse.org/request/show/1039059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cov?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2022-11-30 14:00:13 +00:00 committed by Git OBS Bridge
commit 78fd12e736
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 30 08:16:55 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Disable test_dist_boxed, broken with latest version of pytest-xdist,
gh#pytest-dev/pytest-cov#565
-------------------------------------------------------------------
Mon Nov 28 09:31:24 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -79,6 +79,8 @@ donttest="test_dist_missing_data or test_central_subprocess_change_cwd_with_pyth
# Tests broken with the latest version of python-coverage (6.5.0)
# gh#pytest-dev/pytest-cov#570
donttest+=" or test_contexts"
# gh#pytest-dev/pytest-cov#565
donttest+=" or test_dist_boxed"
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:$PWD/tests py.test-%{$python_bin_suffix} -v -k "not (${donttest})"
%endif