cpython: ab4b8da79a5f (original) (raw)
Mercurial > cpython
changeset 81937:ab4b8da79a5f 2.7
Fix test for issue #6972. [#6972]
Serhiy Storchaka storchaka@gmail.com | |
---|---|
date | Sat, 02 Feb 2013 19:25:57 +0200 |
parents | 4d120cea3507 |
children | cb5cde9e5ac5 |
files | Lib/test/test_zipfile.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-)[+] [-] Lib/test/test_zipfile.py 1 |
line wrap: on
line diff
--- a/Lib/test/test_zipfile.py +++ b/Lib/test/test_zipfile.py @@ -473,6 +473,7 @@ class TestsWithSourceFile(unittest.TestC zinfo.external_attr = 0o600 << 16 zipfp.writestr(zinfo, content)
arcname = arcname.replace(os.sep, "/")[](#l1.7) targetpath = os.path.join('target', 'subdir', 'subsub')[](#l1.8) correctfile = os.path.join(targetpath, *fixedname.split('/'))[](#l1.9)