From 3c42b64a4c30e3f96db790d2a756da5559d325ff Mon Sep 17 00:00:00 2001 From: Martin Durant Date: Mon, 23 Sep 2024 09:36:37 -0400 Subject: [PATCH] Don't require absolute offsets in zip tests --- fsspec/implementations/tests/test_zip.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fsspec/implementations/tests/test_zip.py b/fsspec/implementations/tests/test_zip.py index ecd082f3f..8bf8155d9 100644 --- a/fsspec/implementations/tests/test_zip.py +++ b/fsspec/implementations/tests/test_zip.py @@ -169,12 +169,16 @@ def _assert_all_except_context_dependent_variables(result, expected_result): result_without_date_time.pop("_raw_time") result_without_date_time.pop("external_attr") result_without_date_time.pop("create_system") + result_without_date_time.pop("_end_offset", None) + result_without_date_time.pop("header_offset", None) expected_result_without_date_time = expected_result[path].copy() expected_result_without_date_time.pop("date_time") expected_result_without_date_time.pop("_raw_time") expected_result_without_date_time.pop("external_attr") expected_result_without_date_time.pop("create_system") + expected_result_without_date_time.pop("_end_offset", None) + expected_result_without_date_time.pop("header_offset", None) assert result_without_date_time == expected_result_without_date_time