Skip to content

Commit 279367e

Browse files
(small) Use zstd type variable in test
1 parent b8e6cff commit 279367e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/artifacts/providers/test_zip_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ def test_extract_zstd_zip(self) -> None:
131131
with tempfile.NamedTemporaryFile(suffix=".zip") as temp_file:
132132
temp_path = Path(temp_file.name)
133133

134-
# Create a zstd-compressed zip (compression method 93)
134+
# Create a zstd-compressed zip
135135
with zipfile.ZipFile(temp_path, "w") as zf:
136-
zf.writestr("test.txt", "content", compress_type=93)
136+
zf.writestr("test.txt", "content", zipfile.ZIP_ZSTANDARD)
137137

138138
try:
139139
provider = ZipProvider(temp_path)

0 commit comments

Comments
 (0)