Skip to content

test_tkinter: test_tk_caret() fails on GHA macOS job #152093

Description

@vstinner

Bug report

GHA "macOS / build and test (macos-26)" job: https://github.com/python/cpython/actions/runs/28110219085/job/83235347647?pr=152091

FAIL: test_tk_caret (test.test_tkinter.test_misc.MiscTest.test_tk_caret)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/work/cpython/cpython/Lib/test/test_tkinter/test_misc.py", line 488, in test_tk_caret
    self.assertEqual(caret, {'x': 5, 'y': 10, 'height': 20})
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: {'height': 0, 'x': 0, 'y': 0} != {'x': 5, 'y': 10, 'height': 20}
- {'height': 0, 'x': 0, 'y': 0}
?                    ^

+ {'height': 20, 'x': 5, 'y': 10}
?            +        ^       +

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtopic-tkintertype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions