Add skip_test_abort_clients.patch to avoid failing test (gh#python/cpython#122136)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=32
This commit is contained in:
Matej Cepl 2024-08-07 13:34:52 +00:00 committed by Git OBS Bridge
parent b154095872
commit b1061c18e5
2 changed files with 19 additions and 0 deletions

View File

@ -172,6 +172,9 @@ Patch09: skip-test_pyobject_freed_is_freed.patch
# PATCH-FIX-SLE fix_configure_rst.patch bpo#43774 mcepl@suse.com
# remove duplicate link targets and make documentation with old Sphinx in SLE
Patch10: fix_configure_rst.patch
# PATCH-FIX-UPSTREAM skip_test_abort_clients.patch gh#python/cpython#122136 mcepl@suse.com
# Not yet fixed failing test
Patch11: skip_test_abort_clients.patch
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: fdupes

View File

@ -0,0 +1,16 @@
---
Lib/test/test_asyncio/test_server.py | 1 +
1 file changed, 1 insertion(+)
Index: Python-3.13.0rc1/Lib/test/test_asyncio/test_server.py
===================================================================
--- Python-3.13.0rc1.orig/Lib/test/test_asyncio/test_server.py
+++ Python-3.13.0rc1/Lib/test/test_asyncio/test_server.py
@@ -212,6 +212,7 @@ class TestServer2(unittest.IsolatedAsync
await asyncio.sleep(0)
self.assertTrue(task.done())
+ @unittest.skip('Failing test gh#python/cpython#122136')
async def test_abort_clients(self):
async def serve(rd, wr):
fut.set_result((rd, wr))