[Python-checkins] r75873 - in python/branches/py3k: Lib/test/test_site.py Misc/NEWS

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


Author: tarek.ziade
Date: Tue Oct 27 22:24:21 2009
New Revision: 75873

Log:
Merged revisions 75871 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75871 | tarek.ziade | 2009-10-27 22:20:27 +0100 (Tue, 27 Oct 2009) | 1 line
  
  Issue #7218: Fix test_site for win32
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/test/test_site.py
   python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Lib/test/test_site.py
==============================================================================
--- python/branches/py3k/Lib/test/test_site.py	(original)
+++ python/branches/py3k/Lib/test/test_site.py	Tue Oct 27 22:24:21 2009
@@ -168,7 +168,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/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Tue Oct 27 22:24:21 2009
@@ -117,6 +117,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