mirror of
https://github.com/python/cpython.git
synced 2025-09-25 17:59:57 +00:00
Fix test for issue #6972.
This commit is contained in:
parent
a8d64ae304
commit
2a051fa117
1 changed files with 1 additions and 0 deletions
|
@ -473,6 +473,7 @@ class TestsWithSourceFile(unittest.TestCase):
|
||||||
zinfo.external_attr = 0o600 << 16
|
zinfo.external_attr = 0o600 << 16
|
||||||
zipfp.writestr(zinfo, content)
|
zipfp.writestr(zinfo, content)
|
||||||
|
|
||||||
|
arcname = arcname.replace(os.sep, "/")
|
||||||
targetpath = os.path.join('target', 'subdir', 'subsub')
|
targetpath = os.path.join('target', 'subdir', 'subsub')
|
||||||
correctfile = os.path.join(targetpath, *fixedname.split('/'))
|
correctfile = os.path.join(targetpath, *fixedname.split('/'))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue