Make asyncio tests run on Windows.

This commit is contained in:
Guido van Rossum 2013-10-17 14:23:17 -07:00
parent 27b7c7ebf1
commit 5ea7f93dcd
3 changed files with 12 additions and 2 deletions

View file

@ -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):