Skip to content

Commit f708299

Browse files
committed
Use Tk.report_callback_exception directly
1 parent b4161dc commit f708299

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stdlib/@tests/test_cases/check_tkinter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
root = tkinter.Tk()
11-
root.report_callback_exception(TypeError, TypeError("no"), None)
11+
tkinter.Tk.report_callback_exception(root, TypeError, TypeError("no"), None)
1212

1313

1414
class App(tkinter.Tk):

0 commit comments

Comments
 (0)