Commit 116faa4b authored by Jeroen Demeyer's avatar Jeroen Demeyer

PYTHONPATH: do not add trailing pathsep

parent cc02495d
...@@ -1734,7 +1734,10 @@ class EndToEndTest(unittest.TestCase): ...@@ -1734,7 +1734,10 @@ class EndToEndTest(unittest.TestCase):
.replace("PYTHON", sys.executable)) .replace("PYTHON", sys.executable))
old_path = os.environ.get('PYTHONPATH') old_path = os.environ.get('PYTHONPATH')
env = dict(os.environ) env = dict(os.environ)
env['PYTHONPATH'] = self.cython_syspath + os.pathsep + (old_path or '') new_path = self.cython_syspath
if old_path:
new_path = new_path + os.pathsep + old_path
env['PYTHONPATH'] = new_path
cmd = [] cmd = []
out = [] out = []
err = [] err = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment