Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1903,7 +1903,7 @@ def test_write_without_source_date_epoch(self):
zip_info = zf.getinfo("test_no_source_date_epoch.txt")
current_time = time.localtime()[:6]
for z_time, c_time in zip(zip_info.date_time, current_time):
self.assertAlmostEqual(z_time, c_time, delta=1)
self.assertAlmostEqual(z_time, c_time, delta=2)

def test_close(self):
"""Check that the zipfile is closed after the 'with' block."""
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Increase time delta in ``test.test_zipfile.test_core.OtherTests.test_write_without_source_date_epoch``
Loading