From 169d6fd6a77b37ed99ee2f5179d34de7151c5d5cb80f2fd0d214100183d20ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 15 Feb 2019 11:01:54 +0000 Subject: [PATCH] - 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 --- python-py.changes | 5 +++++ python-py.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-py.changes b/python-py.changes index d3f749a..76923bc 100644 --- a/python-py.changes +++ b/python-py.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 15 11:01:39 UTC 2019 - Tomáš Chvátal + +- Make tests really pass on pytest 3.x series + ------------------------------------------------------------------- Tue Feb 12 14:34:40 UTC 2019 - Tomáš Chvátal diff --git a/python-py.spec b/python-py.spec index 606ecfa..9df1674 100644 --- a/python-py.spec +++ b/python-py.spec @@ -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}