Commit 53ba32c7 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Fix test for issue #6972.

parent d8e5cf53
......@@ -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('/'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment