mirror of
https://github.com/python/cpython.git
synced 2025-09-24 17:33:29 +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
|
||||
zipfp.writestr(zinfo, content)
|
||||
|
||||
arcname = arcname.replace(os.sep, "/")
|
||||
targetpath = os.path.join('target', 'subdir', 'subsub')
|
||||
correctfile = os.path.join(targetpath, *fixedname.split('/'))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue