We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88d5e2c commit 7c622beCopy full SHA for 7c622be
Lib/lib-tk/test/test_tkinter/test_widgets.py
@@ -88,7 +88,8 @@ def test_use(self):
88
widget = self.create()
89
self.assertEqual(widget['use'], '')
90
parent = self.create(container=True)
91
- wid = hex(parent.winfo_id())
+ # hex() adds the 'L' suffix for longs
92
+ wid = '%#x' % parent.winfo_id()
93
widget2 = self.create(use=wid)
94
self.assertEqual(widget2['use'], wid)
95
0 commit comments