summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-11 13:50:15 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-05-11 13:50:15 -0400
commit26595991285ee44427cfa00adb3f9fff70953166 (patch)
tree4210416be8a4829abdf60ad110f98063b3b2d9c1
parent0f50393e51e89c000baa3644862c9381f2ee5e0b (diff)
downloadtrollius-git-26595991285ee44427cfa00adb3f9fff70953166.tar.gz
Make sure that CPython 3.4 and older will import script_helper
-rw-r--r--asyncio/test_support.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/asyncio/test_support.py b/asyncio/test_support.py
index 543b27a..0fadfad 100644
--- a/asyncio/test_support.py
+++ b/asyncio/test_support.py
@@ -302,4 +302,7 @@ except ImportError:
try:
from test.support.script_helper import assert_python_ok
except ImportError:
- pass
+ try:
+ from test.script_helper import assert_python_ok
+ except ImportError:
+ pass