mirror of https://github.com/python/cpython
Fix test for issue #6972.
This commit is contained in:
parent
a8d64ae304
commit
2a051fa117
|
@ -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…
Reference in New Issue