- 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:
parent
0ff5f6a7d8
commit
169d6fd6a7
@ -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>
|
Tue Feb 12 14:34:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -49,6 +49,8 @@ the following tools and modules:
|
|||||||
%setup -q -n py-%{version}
|
%setup -q -n py-%{version}
|
||||||
rm -rf py.egg-info
|
rm -rf py.egg-info
|
||||||
rm -f tox.ini
|
rm -f tox.ini
|
||||||
|
# remove test that does not make sense without term
|
||||||
|
rm -f testing/log/test_warning.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -58,6 +60,7 @@ rm -f tox.ini
|
|||||||
%python_exec %fdupes %{buildroot}%{$python_sitelib}
|
%python_exec %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Loading…
Reference in New Issue
Block a user