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 quotes pathnames in certain error messages #104494

Closed
@chrstphrchvz

Description

@chrstphrchvz

Tk 8.7 (as ofhttps://core.tcl-lang.org/tk/info/2991150c09f6) adds quotes around window pathnames in a few error messages, including those triggered by two Tkinter tests, causing them to fail:

======================================================================FAIL: test_pack_configure_in (test.test_tkinter.test_geometry_managers.PackTest.test_pack_configure_in)----------------------------------------------------------------------_tkinter.TclError: can't pack ".pack.a" inside itselfDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/Users/user/git/cpython/Lib/test/test_tkinter/test_geometry_managers.py", line 111, in test_pack_configure_in    with self.assertRaisesRegex(TclError,AssertionError: "can't pack .pack.a inside itself" does not match "can't pack ".pack.a" inside itself"======================================================================FAIL: test_place_configure_in (test.test_tkinter.test_geometry_managers.PlaceTest.test_place_configure_in)----------------------------------------------------------------------_tkinter.TclError: can't place ".!toplevel2.!frame2" relative to itselfDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/Users/user/git/cpython/Lib/test/test_tkinter/test_geometry_managers.py", line 295, in test_place_configure_in    with self.assertRaisesRegex(TclError, "can't place %s relative to "AssertionError: "can't place \.!toplevel2\.!frame2 relative to itself" does not match "can't place ".!toplevel2.!frame2" relative to itself"

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp