summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_windows_utils.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-12-26 20:16:42 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-12-26 20:16:42 (GMT)
commitd7ff5a5375cc23dff10f91696ac4895971c5850c (patch)
tree3e1bb190939315eeadb62f660f1d48f1e9e735b0 /Lib/test/test_asyncio/test_windows_utils.py
parentfe02e3902920181b76e7e7a9c761209b7ddb1be1 (diff)
downloadcpython-d7ff5a5375cc23dff10f91696ac4895971c5850c.zip
cpython-d7ff5a5375cc23dff10f91696ac4895971c5850c.tar.gz
cpython-d7ff5a5375cc23dff10f91696ac4895971c5850c.tar.bz2
asyncio: sync with Tulip
* Fix pyflakes warnings: remove unused imports and variables * asyncio.test_support now uses test.support and test.script_helper if available
Diffstat (limited to 'Lib/test/test_asyncio/test_windows_utils.py')
-rw-r--r--Lib/test/test_asyncio/test_windows_utils.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/Lib/test/test_asyncio/test_windows_utils.py b/Lib/test/test_asyncio/test_windows_utils.py
index b957949..af5c453 100644
--- a/Lib/test/test_asyncio/test_windows_utils.py
+++ b/Lib/test/test_asyncio/test_windows_utils.py
@@ -5,18 +5,17 @@ import sys
import unittest
from unittest import mock
-try:
- from test import support # gc_collect, IPV6_ENABLED
-except ImportError:
- from asyncio import test_support as support
-
if sys.platform != 'win32':
raise unittest.SkipTest('Windows only')
import _winapi
-from asyncio import windows_utils
from asyncio import _overlapped
+from asyncio import windows_utils
+try:
+ from test import support
+except ImportError:
+ from asyncio import test_support as support
class WinsocketpairTests(unittest.TestCase):