From 279367e3098cddbcd819a8abb085be2250b00e0c Mon Sep 17 00:00:00 2001 From: Nico Hinderling Date: Mon, 15 Dec 2025 13:56:31 -0800 Subject: [PATCH] (small) Use zstd type variable in test --- tests/unit/artifacts/providers/test_zip_provider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/artifacts/providers/test_zip_provider.py b/tests/unit/artifacts/providers/test_zip_provider.py index b39a3825..458c9ec8 100644 --- a/tests/unit/artifacts/providers/test_zip_provider.py +++ b/tests/unit/artifacts/providers/test_zip_provider.py @@ -131,9 +131,9 @@ def test_extract_zstd_zip(self) -> None: with tempfile.NamedTemporaryFile(suffix=".zip") as temp_file: temp_path = Path(temp_file.name) - # Create a zstd-compressed zip (compression method 93) + # Create a zstd-compressed zip with zipfile.ZipFile(temp_path, "w") as zf: - zf.writestr("test.txt", "content", compress_type=93) + zf.writestr("test.txt", "content", zipfile.ZIP_ZSTANDARD) try: provider = ZipProvider(temp_path)