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_tasks.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_tasks.py')
-rw-r--r-- | Lib/test/test_asyncio/test_tasks.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index 25b21dc..1520fb4 100644 --- a/Lib/test/test_asyncio/test_tasks.py +++ b/Lib/test/test_asyncio/test_tasks.py @@ -7,17 +7,17 @@ import types import unittest import weakref from unittest import mock + +import asyncio +from asyncio import coroutines +from asyncio import test_utils try: - from test import support # gc_collect + 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 -import asyncio -from asyncio import coroutines -from asyncio import test_utils - PY34 = (sys.version_info >= (3, 4)) PY35 = (sys.version_info >= (3, 5)) |