From 18871d1991d9b54dc6395dfe33b25772c84bfbdd Mon Sep 17 00:00:00 2001 From: laokz Date: Sun, 3 Nov 2024 15:12:19 +0800 Subject: [PATCH] riscv64: increase tests timeout (cherry picked from commit 63dc7cf11bb19ca8f35089689a7b35b8d1515ccd) --- python-httpretty.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-httpretty.spec b/python-httpretty.spec index 8ae1c28..4e35164 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -1,6 +1,6 @@ Name: python-httpretty Version: 1.1.4 -Release: 6 +Release: 7 Summary: HTTP Client mocking tool for Python License: MIT URL: https://pypi.org/project/httpretty/ @@ -43,6 +43,9 @@ sed -Ei 's/(test_https?_passthrough)/_\1/' tests/functional/test_passthrough.py sed -Ei 's/(test_streaming_responses)/_\1/' tests/functional/test_requests.py sed -Ei 's/(test_fakesock_socket_sendall_with_body_data_with_chunked_entry)/_\1/' tests/unit/test_core.py sed -Ei 's/(test_httpretty_should_allow_registering_regexes_with_streaming_responses)/_\1/' tests/functional/test_requests.py +%if "%_arch" == "riscv64" +sed -Ei 's/two=miliseconds/ten=miliseconds/g' tests/functional/test_{urllib2,httplib2}.py +%endif LANG=en_US.UTF-8 %{__python3} -m nose2 -v %files -n python3-httpretty @@ -52,6 +55,9 @@ LANG=en_US.UTF-8 %{__python3} -m nose2 -v %{python3_sitelib}/httpretty-%{version}-py%{python3_version}.egg-info %changelog +* Mon Nov 4 2024 laokz - 1.1.4-7 +- riscv64: increase tests timeout + * Wed Aug 2 2023 liyanan - 1.1.4-6 - skip failing testsuite tests after requests update -- Gitee