Skip to content

Commit ca9719f

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/artifacts/providers/test_zip_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def test_extract_zstd_zip(self) -> None:
133133

134134
# Create a zstd-compressed zip (compression method 93)
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)