14
0

Accepting request 1271286 from home:ayankov:branches:devel:languages:python

- Fix broken test with openssl 3.5.0:
  * Add patch fix-test-with-openssl-3.5.0.patch

OBS-URL: https://build.opensuse.org/request/show/1271286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=133
This commit is contained in:
2025-04-22 07:40:49 +00:00
committed by Git OBS Bridge
parent 9b9c95df83
commit 10559140da
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
Index: eventlet-0.39.1/tests/ssl_test.py
===================================================================
--- eventlet-0.39.1.orig/tests/ssl_test.py
+++ eventlet-0.39.1/tests/ssl_test.py
@@ -80,7 +80,8 @@ class SSLTest(tests.LimitedTestCase):
sock.recv(8192)
try:
self.assertEqual(b'', sock.recv(8192))
- except greenio.SSL.ZeroReturnError:
+ except (greenio.SSL.ZeroReturnError,
+ BrokenPipeError):
pass
sock = listen_ssl_socket()