mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Asyncio appeared only in python3.4 and temporary dont run tests on Iron python (PY-18078)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user