mirror of
https://github.com/python/cpython.git
synced 2025-08-29 21:25:01 +00:00
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:
parent
fe02e39029
commit
d7ff5a5375
8 changed files with 17 additions and 23 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue