From afc3ee8fdcdaac6ecc856f32118f7ab4d444ffd4 Mon Sep 17 00:00:00 2001 From: Fantix King Date: Thu, 3 Dec 2020 20:29:22 -0600 Subject: [PATCH] Skip failing test on asyncio 3.8 Fixes: #318. --- tests/test_sockets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_sockets.py b/tests/test_sockets.py index cd5ddff..7d87571 100644 --- a/tests/test_sockets.py +++ b/tests/test_sockets.py @@ -195,8 +195,8 @@ class _TestSockets: def test_sock_cancel_add_reader_race(self): if self.is_asyncio_loop(): - if (3, 8, 2) >= sys.version_info[:3] >= (3, 8, 0): - # asyncio 3.8.0 seems to have a regression; + if sys.version_info[:2] == (3, 8): + # asyncio 3.8.x has a regression; fixed in 3.9.0 # tracked in https://bugs.python.org/issue30064 raise unittest.SkipTest()