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:
Ilya.Kazakevich
2017-04-27 00:19:53 +03:00
parent 8ca70982a4
commit 23e75579ca
+1 -2
View File
@@ -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