FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test_tkinter and test_ttk failed on x86 Debian Non-Debug with X 3.x · Issue #153599 · python/cpython · GitHub

Repository navigation

test_tkinter and test_ttk failed on x86 Debian Non-Debug with X 3.x #153599

Closed

Description

Build: https://buildbot.python.org/#/builders/1245/builds/8893

test.pythoninfo:

tkinter.TCL_VERSION: 8.6
tkinter.TK_VERSION: 8.6
tkinter.info_patchlevel: 8.6.13

test_ttk has multiple test_configure_padding() failures. One example (the other ones are similar):

======================================================================
FAIL: test_configure_padding (test.test_ttk.test_extensions.OptionMenuTest.test_configure_padding)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-debian-x86.nondebug/build/Lib/test/test_ttk/test_widgets.py", line 38, in test_configure_padding
    self.checkParam(widget, 'padding', 0, expected=(0,), conv=padding_conv)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/buildbot/buildarea/3.x.ware-debian-x86.nondebug/build/Lib/test/test_tkinter/widget_tests.py", line 77, in checkParam
    self.assertEqual2(widget[name], expected, eq=eq)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/buildbot/buildarea/3.x.ware-debian-x86.nondebug/build/Lib/test/test_tkinter/widget_tests.py", line 50, in assertEqual2
    self.assertEqual(actual, expected, msg)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Tuples differ: (0,) != ('0',)

First differing element 0:
0
'0'

- (0,)
+ ('0',)
?  + +

test_tkinter failure:

======================================================================
FAIL: test_configure_tabs (test.test_tkinter.test_widgets.TextTest.test_configure_tabs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-debian-x86.nondebug/build/Lib/test/test_tkinter/test_widgets.py", line 917, in test_configure_tabs
    self.checkParam(widget, 'tabs', '10.2 20.7 1i 2i',
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                    expected=(10.2, 20.7, '1i', '2i')
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                             if get_tk_patchlevel(self.root) >= (8, 6, 14)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                             else ('10.2', '20.7', '1i', '2i'))
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/buildbot/buildarea/3.x.ware-debian-x86.nondebug/build/Lib/test/test_tkinter/widget_tests.py", line 77, in checkParam
    self.assertEqual2(widget[name], expected, eq=eq)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/buildbot/buildarea/3.x.ware-debian-x86.nondebug/build/Lib/test/test_tkinter/widget_tests.py", line 50, in assertEqual2
    self.assertEqual(actual, expected, msg)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Tuples differ: (10.2, 20.7, <pixel object: '1i'>, <pixel object: '2i'>) != ('10.2', '20.7', '1i', '2i')

First differing element 0:
10.2
'10.2'

- (10.2, 20.7, <pixel object: '1i'>, <pixel object: '2i'>)
+ ('10.2', '20.7', '1i', '2i')

cc @serhiy-storchaka @zware @terryjreedy

Activity

  1. vstinner commented on Jul 11, 2026

    MemberAuthor

    "x86 Debian Installed with X 3.x" is also affected, example: https://buildbot.python.org/#/builders/1244/builds/8908

  2. serhiy-storchaka commented on Jul 12, 2026

    Member

    Thanks. Should be fixed by #153615.

  3. vstinner commented on Jul 12, 2026

    MemberAuthor

    That was quick, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtopic-tkintertype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL