From 007c0477f5794a7955e5f7483a819b310f0120fb Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 2 Nov 2013 10:54:31 +0200 Subject: [PATCH] Issue #10734: Fix and re-enable test_ttk test_heading_callback. --- Lib/tkinter/test/test_ttk/test_widgets.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Lib/tkinter/test/test_ttk/test_widgets.py b/Lib/tkinter/test/test_ttk/test_widgets.py index 807b57da5d4..55dc2f080b1 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