- Make tests really pass on pytest 3.x series

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-py?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2019-02-15 11:01:54 +00:00 committed by Git OBS Bridge
parent 0ff5f6a7d8
commit 169d6fd6a7
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 15 11:01:39 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Make tests really pass on pytest 3.x series
-------------------------------------------------------------------
Tue Feb 12 14:34:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -49,6 +49,8 @@ the following tools and modules:
%setup -q -n py-%{version}
rm -rf py.egg-info
rm -f tox.ini
# remove test that does not make sense without term
rm -f testing/log/test_warning.py
%build
%python_build
@ -58,6 +60,7 @@ rm -f tox.ini
%python_exec %fdupes %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF-8
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest
%files %{python_files}