mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-23452: do not append helpers path to the tail of sys.path
We should not do since it has not been done in 2016.3
This commit is contained in:
@@ -384,8 +384,7 @@ def jb_start_tests():
|
||||
# But sys.path should be same as when launched with test runner directly
|
||||
try:
|
||||
if os.path.abspath(sys.path[0]) == os.path.abspath(os.environ["PYCHARM_HELPERS_DIR"]):
|
||||
helpers_path = sys.path.pop(0)
|
||||
sys.path.append(helpers_path)
|
||||
sys.path.pop(0)
|
||||
except KeyError:
|
||||
pass
|
||||
return namespace.path, namespace.target, additional_args
|
||||
|
||||
Reference in New Issue
Block a user