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

@ -6,12 +6,12 @@ from unittest import mock
import asyncio
from asyncio import subprocess
from asyncio import test_utils
if sys.platform != 'win32':
from asyncio import unix_events
try:
from test import support # PIPE_MAX_SIZE
from test import support
except ImportError:
from asyncio import test_support as support
if sys.platform != 'win32':
from asyncio import unix_events
# Program blocking
PROGRAM_BLOCKED = [sys.executable, '-c', 'import time; time.sleep(3600)']