Fix test for issue #6972.

This commit is contained in:
Serhiy Storchaka 2013-02-02 19:25:57 +02:00
parent a8d64ae304
commit 2a051fa117
1 changed files with 1 additions and 0 deletions

View File

@ -473,6 +473,7 @@ class TestsWithSourceFile(unittest.TestCase):
zinfo.external_attr = 0o600 << 16
zipfp.writestr(zinfo, content)
arcname = arcname.replace(os.sep, "/")
targetpath = os.path.join('target', 'subdir', 'subsub')
correctfile = os.path.join(targetpath, *fixedname.split('/'))