Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Closed
Labels
Description
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"