Thanks to visit codestin.com Credit goes to github.com
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 6fd0345 commit b0efd49Copy full SHA for b0efd49
1 file changed
Lib/idlelib/idle_test/test_macosx.py
@@ -77,6 +77,10 @@ def setUpClass(cls):
77
requires('gui')
78
cls.root = tk.Tk()
79
cls.root.withdraw()
80
+ def cmd(tkpath, func):
81
+ assert isinstance(tkpath, str)
82
+ assert isinstance(func, type(cmd))
83
+ cls.root.createcommand = cmd
84
85
@classmethod
86
def tearDownClass(cls):
0 commit comments