[Python-checkins] r75871 - in python/trunk: Lib/test/test_site.py Misc/NEWS

tarek.ziade python-checkins at python.org
Tue Oct 27 22:20:27 CET 2009


Author: tarek.ziade
Date: Tue Oct 27 22:20:27 2009
New Revision: 75871

Log:
Issue #7218: Fix test_site for win32

Modified:
   python/trunk/Lib/test/test_site.py
   python/trunk/Misc/NEWS

Modified: python/trunk/Lib/test/test_site.py
==============================================================================
--- python/trunk/Lib/test/test_site.py	(original)
+++ python/trunk/Lib/test/test_site.py	Tue Oct 27 22:20:27 2009
@@ -169,7 +169,7 @@
         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

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Tue Oct 27 22:20:27 2009
@@ -427,6 +427,9 @@
 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.
 


More information about the Python-checkins mailing list