summaryrefslogtreecommitdiff
path: root/Lib/idlelib/idle_test/mock_tk.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-05-15 01:30:47 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2016-05-15 01:30:47 -0400
commitb07f55412a83823c724ed5765f37693b73c826bc (patch)
tree2cb383631031c61fa6deb65646d332f997be9b86 /Lib/idlelib/idle_test/mock_tk.py
parent8b2d0b3d0c41b2d38e3dd6f343db936f4b4f6f02 (diff)
downloadcpython-b07f55412a83823c724ed5765f37693b73c826bc.tar.gz
Issue #20640: Add tests for idlelib.configHelpSourceEdit.
Patch by Saimadhav Heblikar.
Diffstat (limited to 'Lib/idlelib/idle_test/mock_tk.py')
-rw-r--r--Lib/idlelib/idle_test/mock_tk.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/mock_tk.py b/Lib/idlelib/idle_test/mock_tk.py
index 86fe84884f..6e351297d7 100644
--- a/Lib/idlelib/idle_test/mock_tk.py
+++ b/Lib/idlelib/idle_test/mock_tk.py
@@ -296,3 +296,8 @@ class Text:
def bind(sequence=None, func=None, add=None):
"Bind to this widget at event sequence a call to function func."
pass
+
+class Entry:
+ "Mock for tkinter.Entry."
+ def focus_set(self):
+ pass