]> granicus.if.org Git - python/commitdiff
Unit test fix from Giampaolo Rodola, #1938
authorChristian Heimes <christian@cheimes.de>
Sat, 26 Jan 2008 16:43:35 +0000 (16:43 +0000)
committerChristian Heimes <christian@cheimes.de>
Sat, 26 Jan 2008 16:43:35 +0000 (16:43 +0000)
Lib/test/test_zipfile.py

index adc0dc179a54283f2662a0e39bcc5c07947112b0..082b918953c12a7f2d9463868532d3e1e0ed447f 100644 (file)
@@ -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)