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