Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tkinter: Tk 8.7 alphabetizes options in certain error messages #104497

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

Description

@chrstphrchvz

As done by e.g.https://core.tcl-lang.org/tk/info/b7db31b3a38b and causing this Tkinter test to fail:

======================================================================FAIL: test_configure_type (test.test_tkinter.test_widgets.MenuTest.test_configure_type)----------------------------------------------------------------------Traceback (most recent call last):  File "/Users/user/git/cpython/Lib/test/test_tkinter/test_widgets.py", line 1403, in test_configure_type    self.checkEnumParam(  File "/Users/user/git/cpython/Lib/test/test_tkinter/widget_tests.py", line 134, in checkEnumParam    self.checkInvalidParam(widget, name, 'spam', errmsg=errmsg)  File "/Users/user/git/cpython/Lib/test/test_tkinter/widget_tests.py", line 63, in checkInvalidParam    self.assertEqual(str(cm.exception), errmsg)AssertionError: 'bad type "spam": must be menubar, normal, or tearoff' != 'bad type "spam": must be normal, tearoff, or menubar'- bad type "spam": must be menubar, normal, or tearoff+ bad type "spam": must be normal, tearoff, or menubar

Linked PRs

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp