Commit ab7a3f12 authored by Lennart Regebro's avatar Lennart Regebro

Issue #314: test_local_index() would fail an OS X.

--HG--
branch : distribute
extra : rebase_source : 8d91abdbed53300e6ec80bd535e00bca17767206
parent e743dabd
...@@ -14,6 +14,7 @@ CHANGES ...@@ -14,6 +14,7 @@ CHANGES
* Issue #306: Even if 2to3 is used, we build in-place under Python 2. * Issue #306: Even if 2to3 is used, we build in-place under Python 2.
* Issue #307: Prints the full path when .svn/entries is broken. * Issue #307: Prints the full path when .svn/entries is broken.
* Issue #313: Support for sdist subcommands (Python 2.7) * Issue #313: Support for sdist subcommands (Python 2.7)
* Issue #314: test_local_index() would fail an OS X.
------ ------
0.6.28 0.6.28
......
...@@ -246,7 +246,8 @@ class TestUserInstallTest(unittest.TestCase): ...@@ -246,7 +246,8 @@ class TestUserInstallTest(unittest.TestCase):
cmd.ensure_finalized() cmd.ensure_finalized()
cmd.local_index.scan([new_location]) cmd.local_index.scan([new_location])
res = cmd.easy_install('foo') res = cmd.easy_install('foo')
self.assertEqual(res.location, new_location) self.assertEqual(os.path.realpath(res.location),
os.path.realpath(new_location))
finally: finally:
sys.path.remove(target) sys.path.remove(target)
for basedir in [new_location, target, ]: for basedir in [new_location, target, ]:
......
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