mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Make asyncio tests run on Windows.
This commit is contained in:
parent
27b7c7ebf1
commit
5ea7f93dcd
3 changed files with 12 additions and 2 deletions
|
@ -11,7 +11,11 @@ if sys.platform != 'win32':
|
|||
import _winapi
|
||||
|
||||
from asyncio import windows_utils
|
||||
from asyncio import _overlapped
|
||||
|
||||
try:
|
||||
import _overlapped
|
||||
except ImportError:
|
||||
from asyncio import _overlapped
|
||||
|
||||
|
||||
class WinsocketpairTests(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue