Skip to content

Commit 2576dd1

Browse files
committed
format
1 parent 9f77a5e commit 2576dd1

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

tests/tools/zipapp/zipper_test.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ def test_create_zip_with_direct_symlink(self):
103103
with zipfile.ZipFile(self.output_zip, "r") as zf:
104104
self.assertEqual(zf.namelist(), ["runfiles/path/to/link"])
105105
self.assertZipFileContent(
106-
zf, "runfiles/path/to/link", is_symlink=True, target="../../../target/path"
106+
zf,
107+
"runfiles/path/to/link",
108+
is_symlink=True,
109+
target="../../../target/path",
107110
)
108111

109112
def test_pathsep_normalization(self):
@@ -129,7 +132,10 @@ def test_pathsep_normalization(self):
129132
)
130133
# The target of the symlink should have backslashes
131134
self.assertZipFileContent(
132-
zf, "runfiles\\link\\path", is_symlink=True, target="..\\..\\target\\path"
135+
zf,
136+
"runfiles\\link\\path",
137+
is_symlink=True,
138+
target="..\\..\\target\\path",
133139
)
134140

135141
def test_symlink_precedence(self):

0 commit comments

Comments
 (0)