From d24cab8c7454921c9279cc73a75d0b1fcf347a6d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tarek=20Ziad=C3=A9?= Date: Tue, 27 Oct 2009 21:20:27 +0000 Subject: [PATCH] Issue #7218: Fix test_site for win32 --- Lib/test/test_site.py | 2 +- Misc/NEWS | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 0f87a6f885..a811f6c4cc 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 1ee755791a..8cf5db426c 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. -- 2.50.1