summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/TreeWidget.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-05-27 07:30:54 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-05-27 07:30:54 (GMT)
commit0a4d13e87e0272085ed920b284f7245f01137cb3 (patch)
treeed71eb2dca6a3e61b9cc76f065bbcaea44ca25a6 /Lib/idlelib/TreeWidget.py
parentaa7886dd3fd56f02a4f5ef239c869e97cbde4a57 (diff)
downloadcpython-0a4d13e87e0272085ed920b284f7245f01137cb3.zip
cpython-0a4d13e87e0272085ed920b284f7245f01137cb3.tar.gz
cpython-0a4d13e87e0272085ed920b284f7245f01137cb3.tar.bz2
Issue #21477: Add htests for Search and Replace dialogs.
Patch by Saimadhav Heblikar.
Diffstat (limited to 'Lib/idlelib/TreeWidget.py')
-rw-r--r--Lib/idlelib/TreeWidget.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/idlelib/TreeWidget.py b/Lib/idlelib/TreeWidget.py
index 2ae6555..f05011d 100644
--- a/Lib/idlelib/TreeWidget.py
+++ b/Lib/idlelib/TreeWidget.py
@@ -453,20 +453,11 @@ def _tree_widget(parent):
root.title("Test TreeWidget")
width, height, x, y = list(map(int, re.split('[x+]', parent.geometry())))
root.geometry("+%d+%d"%(x, y + 150))
- # test with scrollable canvas
sc = ScrolledCanvas(root, bg="white", highlightthickness=0, takefocus=1)
sc.frame.pack(expand=1, fill="both", side=LEFT)
item = FileTreeItem(os.getcwd())
node = TreeNode(sc.canvas, None, item)
node.expand()
-
- # test without scrollable canvas
- canvas = Canvas(root, bg="white", highlightthickness=0)
- canvas.pack(expand=0, fill="both", side=RIGHT)
- item = FileTreeItem(os.getcwd())
- node = TreeNode(canvas, None, item)
- node.update()
-
root.mainloop()
if __name__ == '__main__':