- Skip test test_cover_looponfail as it crashes with updated

pytest

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=14
This commit is contained in:
Tomáš Chvátal 2020-01-15 12:50:38 +00:00 committed by Git OBS Bridge
parent 803039848f
commit a97c0528d5
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 15 12:50:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Skip test_cover_looponfail as it fails with new pytest
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 5 04:06:23 UTC 2019 - Steve Kowalik <steven.kowalik@suse.com> Thu Dec 5 04:06:23 UTC 2019 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-cov # spec file for package python-pytest-cov
# #
# Copyright (c) 2019 SUSE LLC # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -63,8 +63,9 @@ through pytest-cov or through coverage's config file.
# test_central_subprocess_change_cwd_with_pythonpath - needs pytest cov in venv which is not doable in OBS build # test_central_subprocess_change_cwd_with_pythonpath - needs pytest cov in venv which is not doable in OBS build
# test_multiprocessing* - deadlocks under Python 3.8 # test_multiprocessing* - deadlocks under Python 3.8
# test_dist_combine_racecondition - text ordering under Python 3.8 # test_dist_combine_racecondition - text ordering under Python 3.8
# test_cover_looponfail - breaks with new pytest
echo "import site;site.addsitedir(\"$(pwd)/src\")" > tests/sitecustomize.py echo "import site;site.addsitedir(\"$(pwd)/src\")" > tests/sitecustomize.py
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:$PWD/tests py.test-%{$python_bin_suffix} -v -k 'not (test_dist_missing_data or test_central_subprocess_change_cwd_with_pythonpath or test_dist_not_collocated or test_dist_subprocess_not_collocated or test_multiprocessing or test_dist_combine_racecondition)' %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:$PWD/tests py.test-%{$python_bin_suffix} -v -k 'not (test_dist_missing_data or test_central_subprocess_change_cwd_with_pythonpath or test_dist_not_collocated or test_dist_subprocess_not_collocated or test_multiprocessing or test_dist_combine_racecondition or test_cover_looponfail)'
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE