mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
@ -7,16 +7,16 @@ import types
|
|||
import unittest
|
||||
import weakref
|
||||
from unittest import mock
|
||||
try:
|
||||
from test import support # gc_collect
|
||||
from test.script_helper import assert_python_ok
|
||||
except ImportError:
|
||||
from asyncio import test_support as support
|
||||
from asyncio.test_support import assert_python_ok
|
||||
|
||||
import asyncio
|
||||
from asyncio import coroutines
|
||||
from asyncio import test_utils
|
||||
try:
|
||||
from test import support
|
||||
from test.script_helper import assert_python_ok
|
||||
except ImportError:
|
||||
from asyncio import test_support as support
|
||||
from asyncio.test_support import assert_python_ok
|
||||
|
||||
|
||||
PY34 = (sys.version_info >= (3, 4))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue