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
commitc64d942e8d3cdca5450f5a622578d488c7982807 (patch)
tree163c44d664ab082db9b2a67ee022ca55974de8d3 /Lib/idlelib/idle_test/mock_tk.py
parent507898d35d92835f19565249e44c9afbea238192 (diff)
downloadcpython-git-c64d942e8d3cdca5450f5a622578d488c7982807.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