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
This commit is contained in:
Victor Stinner 2014-12-26 21:16:42 +01:00
parent fe02e39029
commit d7ff5a5375
8 changed files with 17 additions and 23 deletions

View file

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