summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_tasks.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-11 18:40:56 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-11 18:40:56 (GMT)
commit7a093d9c71b86a19832a3067b6a4e56ba7963ebf (patch)
tree6a9b29dde8d3e7f34d14cfc5f1b723703839d669 /Lib/test/test_asyncio/test_tasks.py
parent90ecfe65e681f6e7f901a101ad1e549e339ea10d (diff)
parent740169cd24fc108913e4480e98e608f0517a7b8a (diff)
downloadcpython-7a093d9c71b86a19832a3067b6a4e56ba7963ebf.zip
cpython-7a093d9c71b86a19832a3067b6a4e56ba7963ebf.tar.gz
cpython-7a093d9c71b86a19832a3067b6a4e56ba7963ebf.tar.bz2
Merge 3.4 (asyncio)
Diffstat (limited to 'Lib/test/test_asyncio/test_tasks.py')
-rw-r--r--Lib/test/test_asyncio/test_tasks.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py
index e47a668..5b49e76 100644
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -15,10 +15,15 @@ from asyncio import coroutines
from asyncio import test_utils
try:
from test import support
- from test.support.script_helper import assert_python_ok
except ImportError:
from asyncio import test_support as support
- from asyncio.test_support import assert_python_ok
+try:
+ from test.support.script_helper import assert_python_ok
+except ImportError:
+ try:
+ from test.script_helper import assert_python_ok
+ except ImportError:
+ from asyncio.test_support import assert_python_ok
PY34 = (sys.version_info >= (3, 4))