We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d32218 commit 8323189Copy full SHA for 8323189
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