diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-26 16:43:35 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-26 16:43:35 (GMT) |
commit | a2af21262a13510b12d45cf67d92a563da4cf1b5 (patch) | |
tree | 2cb0721189e0030f702b99543f13f5f6b460d693 | |
parent | 6caad7d2cb097e8e5013243a0dc1147a17ba1e78 (diff) | |
download | cpython-a2af21262a13510b12d45cf67d92a563da4cf1b5.zip cpython-a2af21262a13510b12d45cf67d92a563da4cf1b5.tar.gz cpython-a2af21262a13510b12d45cf67d92a563da4cf1b5.tar.bz2 |
Unit test fix from Giampaolo Rodola, #1938
-rw-r--r-- | Lib/test/test_zipfile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py index adc0dc1..082b918 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) |