From 966cc4d8860e916d5ccdb510d62376620450c9c4 Mon Sep 17 00:00:00 2001 From: Eduardo Villalpando Mello Date: Tue, 5 May 2026 11:26:14 -0700 Subject: [PATCH 1/3] Fix test delta --- Lib/test/test_zipfile/test_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_zipfile/test_core.py b/Lib/test/test_zipfile/test_core.py index 6887a5e5cc4d18..0d407371f40a0f 100644 --- a/Lib/test/test_zipfile/test_core.py +++ b/Lib/test/test_zipfile/test_core.py @@ -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.""" From 890aeffff4b580e4a858792fba3749958c02a90f Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 18:49:46 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/Tests/2026-05-05-18-49-44.gh-issue-149425.QnQL8j.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Tests/2026-05-05-18-49-44.gh-issue-149425.QnQL8j.rst diff --git a/Misc/NEWS.d/next/Tests/2026-05-05-18-49-44.gh-issue-149425.QnQL8j.rst b/Misc/NEWS.d/next/Tests/2026-05-05-18-49-44.gh-issue-149425.QnQL8j.rst new file mode 100644 index 00000000000000..b82cf7bb15b5cc --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2026-05-05-18-49-44.gh-issue-149425.QnQL8j.rst @@ -0,0 +1 @@ +Increase time delta in test ``test_write_without_source_date_epoch`` From 2ab5f56e798dbbb0c22893a809c646c00eb9a88a Mon Sep 17 00:00:00 2001 From: Eduardo Villalpando Mello Date: Tue, 5 May 2026 11:56:03 -0700 Subject: [PATCH 3/3] Update news description Co-authored-by: Brett Cannon --- .../next/Tests/2026-05-05-18-49-44.gh-issue-149425.QnQL8j.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Tests/2026-05-05-18-49-44.gh-issue-149425.QnQL8j.rst b/Misc/NEWS.d/next/Tests/2026-05-05-18-49-44.gh-issue-149425.QnQL8j.rst index b82cf7bb15b5cc..680b1fd94488b9 100644 --- a/Misc/NEWS.d/next/Tests/2026-05-05-18-49-44.gh-issue-149425.QnQL8j.rst +++ b/Misc/NEWS.d/next/Tests/2026-05-05-18-49-44.gh-issue-149425.QnQL8j.rst @@ -1 +1 @@ -Increase time delta in test ``test_write_without_source_date_epoch`` +Increase time delta in ``test.test_zipfile.test_core.OtherTests.test_write_without_source_date_epoch``