mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +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
|
@ -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)']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue