Commit a85e52f4 authored by Jason R. Coombs's avatar Jason R. Coombs

Fix failing test on Windows

parent d896eb9e
...@@ -208,8 +208,9 @@ class TestUserInstallTest(unittest.TestCase): ...@@ -208,8 +208,9 @@ 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(os.path.realpath(res.location), actual = os.path.normcase(os.path.realpath(res.location))
os.path.realpath(new_location)) expected = os.path.normcase(os.path.realpath(new_location))
self.assertEqual(actual, expected)
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