summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-26 16:43:35 +0000
committerChristian Heimes <christian@cheimes.de>2008-01-26 16:43:35 +0000
commita2af21262a13510b12d45cf67d92a563da4cf1b5 (patch)
tree2cb0721189e0030f702b99543f13f5f6b460d693
parent6caad7d2cb097e8e5013243a0dc1147a17ba1e78 (diff)
downloadcpython-git-a2af21262a13510b12d45cf67d92a563da4cf1b5.tar.gz
Unit test fix from Giampaolo Rodola, #1938
-rw-r--r--Lib/test/test_zipfile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py
index adc0dc179a..082b918953 100644
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -316,6 +316,7 @@ class TestsWithSourceFile(unittest.TestCase):
correctfile = os.path.join(os.getcwd(), fpath[1:])
else:
correctfile = os.path.join(os.getcwd(), fpath)
+ correctfile = os.path.normpath(correctfile)
self.assertEqual(writtenfile, correctfile)