Show More
@@ -755,9 +755,12 b' def main():' | |||
|
755 | 755 | path = [BINDIR] + os.environ["PATH"].split(os.pathsep) |
|
756 | 756 | os.environ["PATH"] = os.pathsep.join(path) |
|
757 | 757 | |
|
758 | # Deliberately override existing PYTHONPATH: do not want success | |
|
759 | # to depend on what happens to be in caller's environment. | |
|
760 | os.environ["PYTHONPATH"] = PYTHONDIR | |
|
758 | # We have to augment PYTHONPATH, rather than simply replacing | |
|
759 | # it, in case external libraries are only available via current | |
|
760 | # PYTHONPATH. (In particular, the Subversion bindings on OS X | |
|
761 | # are in /opt/subversion.) | |
|
762 | os.environ["PYTHONPATH"] = (PYTHONDIR + os.pathsep + | |
|
763 | os.environ.get("PYTHONPATH", "")) | |
|
761 | 764 | |
|
762 | 765 | COVERAGE_FILE = os.path.join(TESTDIR, ".coverage") |
|
763 | 766 |
General Comments 0
You need to be logged in to leave comments.
Login now