From: Christian Heimes Date: Sat, 26 Jan 2008 16:43:35 +0000 (+0000) Subject: Unit test fix from Giampaolo Rodola, #1938 X-Git-Tag: v2.6a1~387 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2af21262a13510b12d45cf67d92a563da4cf1b5;p=python Unit test fix from Giampaolo Rodola, #1938 --- 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)