aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-03-14 23:11:43 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-03-14 23:11:43 -0400
commita85e52f43285ba8eac8ea57c1996a33e6ea23fa4 (patch)
tree4f3b7d3b3e652eb540ccb98f7c0577b5d2f3760d
parentd896eb9ee9ea29817ef0084996e6e52d547938b2 (diff)
downloadexternal_python_setuptools-a85e52f43285ba8eac8ea57c1996a33e6ea23fa4.tar.gz
external_python_setuptools-a85e52f43285ba8eac8ea57c1996a33e6ea23fa4.tar.bz2
external_python_setuptools-a85e52f43285ba8eac8ea57c1996a33e6ea23fa4.zip
Fix failing test on Windows3.2
-rw-r--r--setuptools/tests/test_easy_install.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index d2cc7a0f..70e2ad99 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -208,8 +208,9 @@ class TestUserInstallTest(unittest.TestCase):
cmd.ensure_finalized()
cmd.local_index.scan([new_location])
res = cmd.easy_install('foo')
- self.assertEqual(os.path.realpath(res.location),
- os.path.realpath(new_location))
+ actual = os.path.normcase(os.path.realpath(res.location))
+ expected = os.path.normcase(os.path.realpath(new_location))
+ self.assertEqual(actual, expected)
finally:
sys.path.remove(target)
for basedir in [new_location, target, ]: