We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eaa712 commit 33b11d5Copy full SHA for 33b11d5
pandas/tests/io/test_gcs.py
@@ -99,12 +99,13 @@ def test_to_read_gcs(gcs_buffer, format):
99
100
def assert_equal_zip_safe(result: bytes, expected: bytes):
101
"""
102
- We would like to assert these are equal, but the 11th byte is a last-modified
103
- timestamp, which in some builds is off-by-one, so we check around that.
+ We would like to assert these are equal, but the 10th and 11th bytes are a
+ last-modified timestamp, which in some builds is off-by-one, so we check around
104
+ that.
105
106
See https://en.wikipedia.org/wiki/ZIP_(file_format)#File_headers
107
- assert result[:10] == expected[:10]
108
+ assert result[:9] == expected[:9]
109
assert result[11:] == expected[11:]
110
111
0 commit comments