Skip to content

Commit d586969

Browse files
committed
style(zipapp): apply Ruff formatting
1 parent 08e599c commit d586969

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

‎tests/py_zipapp/venv_zipapp_test.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ def test_zipapp_structure(self):
8686
if os.name != "nt":
8787
self.assertFalse(
8888
any(
89-
"/lib/libpython" in name and ".so" in name
90-
for name in namelist
89+
"/lib/libpython" in name and ".so" in name for name in namelist
9190
),
9291
"Statically linked Python should not bundle libpython",
9392
)

‎tests/tools/zipapp/zipper_test.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,7 @@ def test_create_zip_with_sandboxed_source_symlink(tmp_path):
171171
is_symlink_file=True,
172172
target=target_path.name,
173173
)
174-
assert_zip_file_content(
175-
zf, "runfiles/my_ws/bin/python3.14", content="python"
176-
)
174+
assert_zip_file_content(zf, "runfiles/my_ws/bin/python3.14", content="python")
177175

178176

179177
def test_pathsep_normalization(tmp_path):

0 commit comments

Comments
 (0)