summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-02 08:54:31 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-02 08:54:31 (GMT)
commit007c0477f5794a7955e5f7483a819b310f0120fb (patch)
tree73cb656b1d365a0f12bee9c4c8c048f0caaf51c5 /Lib/tkinter
parent758c521ea869e29f606ad61625b5b25dc6d5dd56 (diff)
downloadcpython-007c0477f5794a7955e5f7483a819b310f0120fb.zip
cpython-007c0477f5794a7955e5f7483a819b310f0120fb.tar.gz
cpython-007c0477f5794a7955e5f7483a819b310f0120fb.tar.bz2
Issue #10734: Fix and re-enable test_ttk test_heading_callback.
Diffstat (limited to 'Lib/tkinter')
-rw-r--r--Lib/tkinter/test/test_ttk/test_widgets.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/tkinter/test/test_ttk/test_widgets.py b/Lib/tkinter/test/test_ttk/test_widgets.py
index 807b57d..55dc2f0 100644
--- a/Lib/tkinter/test/test_ttk/test_widgets.py
+++ b/Lib/tkinter/test/test_ttk/test_widgets.py
@@ -1369,12 +1369,10 @@ class TreeviewTest(AbstractWidgetTest, unittest.TestCase):
self.assertRaises(tkinter.TclError, self.tv.heading, '#0',
anchor=1)
- # XXX skipping for now; should be fixed to work with newer ttk
- @unittest.skip("skipping pending resolution of Issue #10734")
def test_heading_callback(self):
def simulate_heading_click(x, y):
support.simulate_mouse_click(self.tv, x, y)
- self.tv.update_idletasks()
+ self.tv.update()
success = [] # no success for now