diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-26 10:07:42 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-26 10:07:42 (GMT) |
commit | f5e37037cc14bd30f2a270326852970d46bc648f (patch) | |
tree | 22d2178338ea80627aa62354c06acae4c560e9e3 /Lib/test/test_asyncio/test_events.py | |
parent | 24ba2035048566df2e0876fb719749d984234bc7 (diff) | |
download | cpython-f5e37037cc14bd30f2a270326852970d46bc648f.zip cpython-f5e37037cc14bd30f2a270326852970d46bc648f.tar.gz cpython-f5e37037cc14bd30f2a270326852970d46bc648f.tar.bz2 |
asyncio: Fix pyflakes warnings: remove unused variables and imports
Diffstat (limited to 'Lib/test/test_asyncio/test_events.py')
-rw-r--r-- | Lib/test/test_asyncio/test_events.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 055a2aa..ab58cb5 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -25,7 +25,6 @@ from test import support # find_unused_port, IPV6_ENABLED, TEST_HOME_DIR import asyncio -from asyncio import events from asyncio import selector_events from asyncio import test_utils @@ -1648,13 +1647,12 @@ class SubprocessTestsMixin: def test_subprocess_wait_no_same_group(self): proto = None - transp = None @asyncio.coroutine def connect(): nonlocal proto # start the new process in a new session - transp, proto = yield from self.loop.subprocess_shell( + _, proto = yield from self.loop.subprocess_shell( functools.partial(MySubprocessProtocol, self.loop), 'exit 7', stdin=None, stdout=None, stderr=None, start_new_session=True) |