Commit 55c8f93b authored by Michael Howitz's avatar Michael Howitz

setuptools seems to call os.path.realpath on the paths of working set items.

On Mac OS X the path returned by tempfile.mkdtemp is not the real path.
This makes the realtive_path test of easy_install.txt failing.
Calling os.path.realpath on the base directory fixed this testfailure for python 2.4 - 2.6.
parent 5ea55430
......@@ -212,6 +212,7 @@ def buildoutSetUp(test):
base = tempfile.mkdtemp('buildoutSetUp')
base = os.path.realpath(base)
register_teardown(lambda base=base: rmtree(base))
old_home = os.environ.get('HOME')
......
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