From 9adbcf98af9085119143630b379f161a42adb3f1cd1edddaa986d9e77002c5cc Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 6 Aug 2022 17:34:11 +0000 Subject: [PATCH] Clean up SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpretty?expand=0&rev=48 --- python-httpretty.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python-httpretty.spec b/python-httpretty.spec index 7068f17..5fc1e63 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -65,7 +65,7 @@ sed -i -e '/rednose/ d' setup.cfg %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# https://github.com/gabrielfalcao/HTTPretty/issues/405 +# gh#gabrielfalcao/HTTPretty#405 export EVENTLET_NO_GREENDNS=yes # test_http_passthrough and test_https_passthrough need internet connection sed -Ei 's/(test_https?_passthrough)/_\1/' tests/functional/test_passthrough.py @@ -73,8 +73,6 @@ sed -Ei 's/(test_https?_passthrough)/_\1/' tests/functional/test_passthrough.py sed -Ei 's/(test_streaming_responses)/_\1/' tests/functional/test_requests.py # fails on x86_64 sed -Ei 's/(test_fakesock_socket_sendall_with_body_data_with_chunked_entry)/_\1/' tests/unit/test_core.py - -# %%python_exec -m nose2 -v %pytest %files %{python_files}