Commit abf438d
gh-151881: Skip tk_inactive negativity check on Windows
On Windows ``Tk_GetUserInactiveTime()`` computes the inactivity interval
as a C ``long``, which is only 32-bit there. On a non-interactive
session (e.g. a buildbot running as a service) the interval can exceed
2**31 ms and overflow to a negative value, making the test fail.
Guard the lower-bound check on the win32 windowing system pending the
Tk-side fix (Tk ticket 3cb7c4ac72d4).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent ecdef17 commit abf438d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
596 | 600 | | |
597 | 601 | | |
598 | 602 | | |
| |||
0 commit comments