summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-10-27 21:20:27 +0000
committerTarek Ziadé <ziade.tarek@gmail.com>2009-10-27 21:20:27 +0000
commitd24cab8c7454921c9279cc73a75d0b1fcf347a6d (patch)
treecb1a9057ffdd36ef19ca1c5bb0e299d14ead4ee0
parent26a93c0082af09d8e8837d569625c3fc9cfd6639 (diff)
downloadcpython-git-d24cab8c7454921c9279cc73a75d0b1fcf347a6d.tar.gz
Issue #7218: Fix test_site for win32
-rw-r--r--Lib/test/test_site.py2
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 1 deletions
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.