]> granicus.if.org Git - python/commitdiff
Issue #7218: Fix test_site for win32
authorTarek Ziadé <ziade.tarek@gmail.com>
Tue, 27 Oct 2009 21:20:27 +0000 (21:20 +0000)
committerTarek Ziadé <ziade.tarek@gmail.com>
Tue, 27 Oct 2009 21:20:27 +0000 (21:20 +0000)
Lib/test/test_site.py
Misc/NEWS

index 0f87a6f8852c77a586f7dd5fb08057b42371c394..a811f6c4cc86949424453de7e02f2b840fa0eb44 100644 (file)
@@ -169,7 +169,7 @@ class HelperFunctionsTests(unittest.TestCase):
         else:
             self.assertTrue(len(dirs), 2)
             self.assertEquals(dirs[0], 'xoxo')
-            wanted = os.path.join('xoxo', 'Lib', 'site-packages')
+            wanted = os.path.join('xoxo', 'lib', 'site-packages')
             self.assertEquals(dirs[1], wanted)
 
         # let's try the specific Apple location
index 1ee755791a72798cb5499ce28d06e593da530271..8cf5db426ce74d46ba0a3458019bdf37157c3eb9 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -427,6 +427,9 @@ Core and Builtins
 Library
 -------
 
+- Issue #7218: Fix test_site for win32, the directory comparison was done with
+  an uppercase.
+
 - Issue #7205: Fix a possible deadlock when using a BZ2File object from
   several threads at once.