diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-12-26 20:16:42 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-12-26 20:16:42 (GMT) |
commit | d7ff5a5375cc23dff10f91696ac4895971c5850c (patch) | |
tree | 3e1bb190939315eeadb62f660f1d48f1e9e735b0 /Lib/test/test_asyncio/test_subprocess.py | |
parent | fe02e3902920181b76e7e7a9c761209b7ddb1be1 (diff) | |
download | cpython-d7ff5a5375cc23dff10f91696ac4895971c5850c.zip cpython-d7ff5a5375cc23dff10f91696ac4895971c5850c.tar.gz cpython-d7ff5a5375cc23dff10f91696ac4895971c5850c.tar.bz2 |
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
Diffstat (limited to 'Lib/test/test_asyncio/test_subprocess.py')
-rw-r--r-- | Lib/test/test_asyncio/test_subprocess.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index 08c8ac2..55c47b5 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -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)'] |