Skip to content

Commit 6110990

Browse files
committed
update zipper test
1 parent 78eff68 commit 6110990

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/tools/zipapp/zipper_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def _create_zip(self, **kwargs):
2626
"workspace_name": "my_ws",
2727
"legacy_external_runfiles": False,
2828
"runfiles_dir": "runfiles",
29-
"pathsep": "/",
29+
"platform_pathsep": "/",
3030
}
3131
defaults.update(kwargs)
3232
zipper.create_zip(**defaults)
@@ -120,8 +120,8 @@ def test_pathsep_normalization(self):
120120
]
121121
self.manifest_path.write_text("\n".join(manifest_content))
122122

123-
# Use backslash as pathsep
124-
self._create_zip(pathsep="\\")
123+
# Use backslash as platform_pathsep
124+
self._create_zip(platform_pathsep="\\")
125125

126126
with zipfile.ZipFile(self.output_zip, "r") as zf:
127127
# zipfile.namelist() always returns with forward slashes

0 commit comments

Comments
 (0)