From: Tarek Ziadé Date: Tue, 27 Oct 2009 21:20:27 +0000 (+0000) Subject: Issue #7218: Fix test_site for win32 X-Git-Tag: v2.7a1~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d24cab8c7454921c9279cc73a75d0b1fcf347a6d;p=thirdparty%2FPython%2Fcpython.git Issue #7218: Fix test_site for win32 --- diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 0f87a6f8852c..a811f6c4cc86 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -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 diff --git a/Misc/NEWS b/Misc/NEWS index 1ee755791a72..8cf5db426ce7 100644 --- 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.