aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_windows_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_windows_utils.py')
-rw-r--r--Lib/test/test_asyncio/test_windows_utils.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_windows_utils.py b/Lib/test/test_asyncio/test_windows_utils.py
index 4b96086186c..3b6b036893e 100644
--- a/Lib/test/test_asyncio/test_windows_utils.py
+++ b/Lib/test/test_asyncio/test_windows_utils.py
@@ -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):