From 88a76d7d5a48844582aaeed1e5a937bdbf71a9182b408082fa689d29fb2cf262 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 18 Dec 2024 08:42:44 +0000 Subject: [PATCH] - Ignore DeprecationWarning in tests (bsc#1234681) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=183 --- python-urllib3.changes | 5 +++++ python-urllib3.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-urllib3.changes b/python-urllib3.changes index 67f7545..cc1c94d 100644 --- a/python-urllib3.changes +++ b/python-urllib3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 18 08:41:22 UTC 2024 - Daniel Garcia + +- Ignore DeprecationWarning in tests (bsc#1234681) + ------------------------------------------------------------------- Thu Oct 3 05:10:09 UTC 2024 - Steve Kowalik diff --git a/python-urllib3.spec b/python-urllib3.spec index 229aa23..5d2a75b 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -130,7 +130,7 @@ skiplist+=" or test_requesting_large_resources_via_ssl" skiplist+=" or test_deprecated_no_scheme" # weird threading issues on OBS runners skiplist+=" or test_http2_probe_blocked_per_thread" -%pytest %{?jobs:-n %jobs} -k "not (${skiplist})" --ignore test/with_dummyserver/test_socketlevel.py +%pytest -W ignore::DeprecationWarning %{?jobs:-n %jobs} -k "not (${skiplist})" --ignore test/with_dummyserver/test_socketlevel.py %endif %if ! %{with test}