diff --git a/tests/test_sockets.py b/tests/test_sockets.py index cd5ddfff..7d87571e 100644 --- a/tests/test_sockets.py +++ b/tests/test_sockets.py @@ -195,8 +195,8 @@ def test_socket_sync_remove_and_immediately_close(self): 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()