Skip to content

Commit

Permalink
Skip failing test on asyncio 3.8
Browse files Browse the repository at this point in the history
Fixes: #318.
  • Loading branch information
fantix authored and 1st1 committed Dec 7, 2020
1 parent 200e140 commit afc3ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit afc3ee8

Please sign in to comment.