summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_windows_utils.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2017-12-11 15:04:40 (GMT)
committerGitHub <noreply@github.com>2017-12-11 15:04:40 (GMT)
commit3e9751819ad13a965e8be13c1e5bc5a6811fe6b8 (patch)
treed93da6e327fb548daf2a370b24b1b3479e7f3ed5 /Lib/test/test_asyncio/test_windows_utils.py
parent9edad3c7011ccab0a66a065933abebf3288cf1a1 (diff)
downloadcpython-3e9751819ad13a965e8be13c1e5bc5a6811fe6b8.zip
cpython-3e9751819ad13a965e8be13c1e5bc5a6811fe6b8.tar.gz
cpython-3e9751819ad13a965e8be13c1e5bc5a6811fe6b8.tar.bz2
bpo-32273: Move asyncio.test_utils to test.test_asyncio (#4785)
Diffstat (limited to 'Lib/test/test_asyncio/test_windows_utils.py')
-rw-r--r--Lib/test/test_asyncio/test_windows_utils.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/test/test_asyncio/test_windows_utils.py b/Lib/test/test_asyncio/test_windows_utils.py
index 952f95e..9fc3858 100644
--- a/Lib/test/test_asyncio/test_windows_utils.py
+++ b/Lib/test/test_asyncio/test_windows_utils.py
@@ -1,10 +1,8 @@
"""Tests for window_utils"""
-import socket
import sys
import unittest
import warnings
-from unittest import mock
if sys.platform != 'win32':
raise unittest.SkipTest('Windows only')
@@ -13,10 +11,7 @@ import _overlapped
import _winapi
from asyncio import windows_utils
-try:
- from test import support
-except ImportError:
- from asyncio import test_support as support
+from test import support
class PipeTests(unittest.TestCase):