Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.2k
Closed
Description
Bug report
Bug description:
TheAMD64 Windows10 3.x buildbot has started failing:
======================================================================FAIL:test_fromtimestamp_low_fold_detection (test.datetimetester.TestLocalTimeDisambiguation_Fast.test_fromtimestamp_low_fold_detection)----------------------------------------------------------------------Traceback (most recent call last): File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\datetimetester.py", line6431, intest_fromtimestamp_low_fold_detectionself.assertEqual(datetime.fromtimestamp(0).fold,0)~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError:1 != 0
======================================================================FAIL:test_mktime (test.test_time.TimeTestCase.test_mktime)----------------------------------------------------------------------Traceback (most recent call last): File"D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_time.py", line542, intest_mktimeself.assertEqual(t1, t)~~~~~~~~~~~~~~~~^^^^^^^AssertionError:3598.0 != -2----------------------------------------------------------------------Ran 64 tests in 3.432s
- Last pass: Sat 7th Marchhttps://buildbot.python.org/#/builders/146/builds/13306
- First fail: Mon 9th Marchhttps://buildbot.python.org/#/builders/146/builds/13307
The US switched to DST on Sunday 8th March.
Only this Windows buildbot fails, it's on EST/EDT:
Last pass:
datetime.datetime.now: 2026-03-07 09:09:35(local)time.time: 1772892576→ 2026-03-07 14:09:36 UTC- Offset: 5 hours → UTC-5 → EST
First fail:
datetime.datetime.now: 2026-03-08 23:01:25(local)time.time: 1773025286→ 2026-03-09 03:01:26 UTC- Offset: 4 hours → UTC-4 → EDT
GitHub Actions is on UTC, so it passes.
Bug likely introduced by#143463, merged in January during standard time, so the tests passed.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Done