Asyncio appeared only in python3.4 and temporary dont run tests on Iron python (PY-18078)

This commit is contained in:
Elizaveta Shashkova
2015-12-29 14:45:12 +03:00
parent f78dbdba4c
commit 49b1c38535
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -2396,7 +2396,7 @@ if __name__ == '__main__':
if setup['save-threading']:
debugger.thread_analyser = ThreadingLogger()
if setup['save-asyncio']:
if IS_PY3K:
if IS_PY34_OLDER:
debugger.asyncio_analyser = AsyncioLogger()
try:
+3
View File
@@ -52,11 +52,14 @@ if IS_JYTHON:
# Python 3?
#=======================================================================================================================
IS_PY3K = False
IS_PY34_OLDER = False
IS_PY27 = False
IS_PY24 = False
try:
if sys.version_info[0] >= 3:
IS_PY3K = True
if sys.version_info[0] == 3 and sys.version_info[1] >= 4:
IS_PY34_OLDER = True
elif sys.version_info[0] == 2 and sys.version_info[1] == 7:
IS_PY27 = True
elif sys.version_info[0] == 2 and sys.version_info[1] == 4: