File httpcore-allow-deprecationwarnings-test.patch of Package python-httpcore

---
 pyproject.toml |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -86,7 +86,13 @@ ignore_missing_imports = true
 [tool.pytest.ini_options]
 addopts = ["-rxXs", "--strict-config", "--strict-markers"]
 markers = ["copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup"]
-filterwarnings = ["error"]
+filterwarnings = [
+    "error",
+    "ignore:trio.MultiError is deprecated",
+    "ignore:unclosed <(socket.socket|ssl.SSLSocket) .*:ResourceWarning",
+    "ignore:ssl.wrap_socket() is deprecated, use SSLContext.wrap_socket():DeprecationWarning",
+    "ignore:ssl.PROTOCOL_TLS is deprecated:DeprecationWarning"
+]
 
 [tool.coverage.run]
 omit = [
openSUSE Build Service is sponsored by