diff --git a/tests/test_sockets.py b/tests/test_sockets.py index 6a8a63f3..3c1f7a38 100644 --- a/tests/test_sockets.py +++ b/tests/test_sockets.py @@ -194,10 +194,11 @@ def test_socket_sync_remove_and_immediately_close(self): self.loop.run_until_complete(asyncio.sleep(0.01)) def test_sock_cancel_add_reader_race(self): - if self.is_asyncio_loop() and sys.version_info[:3] == (3, 8, 0): - # asyncio 3.8.0 seems to have a regression; - # tracked in https://bugs.python.org/issue30064 - raise unittest.SkipTest() + 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; + # tracked in https://bugs.python.org/issue30064 + raise unittest.SkipTest() srv_sock_conn = None