diff options
author | Lennart Regebro <regebro@gmail.com> | 2012-08-22 16:48:48 +0200 |
---|---|---|
committer | Lennart Regebro <regebro@gmail.com> | 2012-08-22 16:48:48 +0200 |
commit | ab7a3f122ea89a7288ddb5815a06fffb4ec48cac (patch) | |
tree | 80b56db14ef070d3eb140c03080b0c094b81b072 /setuptools/tests/test_easy_install.py | |
parent | e743dabde0d60aaeca5c9e4dc5c29ac3ac625646 (diff) | |
download | external_python_setuptools-ab7a3f122ea89a7288ddb5815a06fffb4ec48cac.tar.gz external_python_setuptools-ab7a3f122ea89a7288ddb5815a06fffb4ec48cac.tar.bz2 external_python_setuptools-ab7a3f122ea89a7288ddb5815a06fffb4ec48cac.zip |
Issue #314: test_local_index() would fail an OS X.
--HG--
branch : distribute
extra : rebase_source : 8d91abdbed53300e6ec80bd535e00bca17767206
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r-- | setuptools/tests/test_easy_install.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index ab02e314..13f668d0 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -246,7 +246,8 @@ class TestUserInstallTest(unittest.TestCase): cmd.ensure_finalized() cmd.local_index.scan([new_location]) res = cmd.easy_install('foo') - self.assertEqual(res.location, new_location) + self.assertEqual(os.path.realpath(res.location), + os.path.realpath(new_location)) finally: sys.path.remove(target) for basedir in [new_location, target, ]: |