Commit d11576dd authored by Marius Gedminas's avatar Marius Gedminas

Use os.pathsep when constructing $PYTHONPATH

Should fix a test failure on Windows:
http://winbot.zope.org/builders/ZODB_dev%20py_265_win32/builds/1083/steps/test/logs/stdio
parent c0b7812b
......@@ -139,7 +139,7 @@ class SerializerFunctestCase(unittest.TestCase):
# buildout doesn't arrange for the sys.path to be exported,
# so force it ourselves
environ = os.environ.copy()
environ['PYTHONPATH'] = ':'.join(sys.path)
environ['PYTHONPATH'] = os.pathsep.join(sys.path)
subprocess.check_call(prep_args, env=environ)
load_args = [sys.executable, '-c',
'from ZODB.tests.testSerialize import _functest_load; '
......
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