From 3875ab71a980f7e6549cba94da0fcb435fa3a089 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 11 2018 14:21:07 +0000 Subject: also skip tests for py2 Who knew that after n-th execution of tests they will start failing on py2. Signed-off-by: Igor Gnatenko --- diff --git a/python-moss.spec b/python-moss.spec index 73d4e51..06ce7c9 100644 --- a/python-moss.spec +++ b/python-moss.spec @@ -102,7 +102,7 @@ rm -vf %{buildroot}%{_bindir}/recon_qc # and fail from time to time because of this. # ignatenkobrain: I got it failing from time to time in COPR # Disable one of tests for now due to: https://github.com/mwaskom/moss/issues/17 -PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v +PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v -k "not test_remove_by_group" -k "not test_smooth_bootstrap" PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v -k "not test_remove_by_group" -k "not test_smooth_bootstrap" %files -n python2-%{modname}