Skip to content

Commit afc3ee8

Browse files
fantix1st1
authored andcommitted
Skip failing test on asyncio 3.8
Fixes: #318.
1 parent 200e140 commit afc3ee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/test_sockets.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ def test_socket_sync_remove_and_immediately_close(self):
195195

196196
def test_sock_cancel_add_reader_race(self):
197197
if self.is_asyncio_loop():
198-
if (3, 8, 2) >= sys.version_info[:3] >= (3, 8, 0):
199-
# asyncio 3.8.0 seems to have a regression;
198+
if sys.version_info[:2] == (3, 8):
199+
# asyncio 3.8.x has a regression; fixed in 3.9.0
200200
# tracked in https://bugs.python.org/issue30064
201201
raise unittest.SkipTest()
202202

0 commit comments

Comments
 (0)