From f176dee1d6a81282e6cee4a48fb64ba09c17be00 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jul 11 2020 08:33:11 +0000 Subject: Deselect test_https_warnings See https://bugzilla.redhat.com/show_bug.cgi?id=1676023 and https://github.com/psf/requests/issues/5530 --- diff --git a/python-requests.spec b/python-requests.spec index 344d8ae..013aaf8 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -96,7 +96,8 @@ sed -i 's/ --doctest-modules//' pytest.ini %if %{with tests} %check -PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v +# test_https_warnings: https://github.com/psf/requests/issues/5530 +%pytest -v -k "not test_https_warnings" %endif # tests %files -n python%{python3_pkgversion}-requests