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

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