Blob Blame History Raw
From f66c127a9629d5ba368b1a731af362af4225c84e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com>
Date: Thu, 26 May 2022 07:56:46 +0200
Subject: [PATCH]  Fixed cancel message related test failure on py3.11

---
 tests/test_taskgroups.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_taskgroups.py b/tests/test_taskgroups.py
index 528aa2a..40228a9 100644
--- a/tests/test_taskgroups.py
+++ b/tests/test_taskgroups.py
@@ -991,6 +991,7 @@ def test_unhandled_exception_group(caplog: pytest.LogCaptureFixture) -> None:
 
 
 @pytest.mark.skipif(sys.version_info < (3, 9),
+                    sys.version_info >= (3, 11),
                     reason='Cancel messages are only supported on py3.9+')
 @pytest.mark.parametrize('anyio_backend', ['asyncio'])
 async def test_cancellederror_combination_with_message() -> None:
-- 
2.36.1