mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
IDEA-CR-53093: PY-37226 Revert pydev prefix for test directories
GitOrigin-RevId: 3d4abb05167e85cb44720e36d0fa3b949f199f30
This commit is contained in:
committed by
intellij-monorepo-bot
parent
20597fd799
commit
626a14835a
20
python/helpers/pydev/pydev_tests_python/debug_constants.py
Normal file
20
python/helpers/pydev/pydev_tests_python/debug_constants.py
Normal file
@@ -0,0 +1,20 @@
|
||||
import os
|
||||
import sys
|
||||
import platform
|
||||
|
||||
TEST_CYTHON = os.getenv('PYDEVD_USE_CYTHON', None) == 'YES'
|
||||
TEST_JYTHON = os.getenv('PYDEVD_TEST_JYTHON', None) == 'YES'
|
||||
|
||||
IS_PY3K = sys.version_info[0] >= 3
|
||||
IS_PY36_OR_GREATER = sys.version_info[0:2] >= (3, 6)
|
||||
IS_CPYTHON = platform.python_implementation() == 'CPython'
|
||||
|
||||
IS_PY2 = False
|
||||
if sys.version_info[0] == 2:
|
||||
IS_PY2 = True
|
||||
|
||||
IS_PY26 = sys.version_info[:2] == (2, 6)
|
||||
IS_PY34 = sys.version_info[:2] == (3, 4)
|
||||
IS_PY36 = False
|
||||
if sys.version_info[0] == 3 and sys.version_info[1] == 6:
|
||||
IS_PY36 = True
|
||||
Reference in New Issue
Block a user