Skip to content
Prev Previous commit
Next Next commit
Seems a second gets lost during the zip file creation.
  • Loading branch information
jaraco committed May 19, 2026
commit 5c094226fda0372a61c46198b905684ab5e225c8
2 changes: 1 addition & 1 deletion Lib/test/test_zipfile/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ def test_write_with_source_date_epoch(self):

with zipfile.ZipFile(TESTFN, "r") as zf:
zip_info = zf.getinfo("test_source_date_epoch.txt")
expected_utc = (2025, 1, 1, 7, 19, 59)
expected_utc = (2025, 1, 1, 7, 19, 58)
self.assertEqual(zip_info.date_time, expected_utc)

def test_write_without_source_date_epoch(self):
Expand Down
Loading